Home | History | Annotate | Download | only in 005-annotations
      1 TestAnnotations...
      2 java.lang.String android.test.anno.TestAnnotations.thing1: @android.test.anno.AnnoArrayField(bb=[], cc=[a, b], dd=[0.987654321], ff=[3.1415927], ii=[], jj=[], ss=[], str=[], zz=[])
      3 java.lang.String android.test.anno.TestAnnotations.thing2: @android.test.anno.AnnoArrayField(bb=[-1, 0, 1], cc=[Q], dd=[0.3, 0.6, 0.9], ff=[1.1, 1.2, 1.3], ii=[1, 2, 3, 4], jj=[-5, 0, 5], ss=[12, 13, 14, 15, 16, 17], str=[hickory, dickory, dock], zz=[true, false, true])
      4 mapping is class [Landroid.test.anno.IntToString;
      5   0='@android.test.anno.IntToString(from=0, to=NORMAL_FOCUS)'
      6   1='@android.test.anno.IntToString(from=2, to=WEAK_FOCUS)'
      7 present(getFocusType, ExportedProperty): true
      8 present(getFocusType, AnnoSimpleType): false
      9 
     10 AnnoSimpleField true, SimplyNoted false
     11 annotations on TYPE class android.test.anno.SimplyNoted(2):
     12   @android.test.anno.AnnoSimpleType()
     13     interface android.test.anno.AnnoSimpleType
     14   @android.test.anno.AnnoSimpleType2()
     15     interface android.test.anno.AnnoSimpleType2
     16 
     17   annotations on CTOR android.test.anno.SimplyNoted():
     18     @android.test.anno.AnnoSimpleConstructor()
     19       interface android.test.anno.AnnoSimpleConstructor
     20     constructor parameter annotations:
     21   annotations on CTOR android.test.anno.SimplyNoted(int):
     22     @android.test.anno.AnnoSimpleConstructor()
     23       interface android.test.anno.AnnoSimpleConstructor
     24     constructor parameter annotations:
     25       @android.test.anno.AnnoSimpleParameter()
     26         interface android.test.anno.AnnoSimpleParameter
     27   annotations on METH public int android.test.anno.SimplyNoted.foo():
     28     @android.test.anno.AnnoSimpleMethod()
     29       interface android.test.anno.AnnoSimpleMethod
     30     method parameter annotations:
     31   annotations on FIELD public int android.test.anno.SimplyNoted.mFoo:
     32     @android.test.anno.AnnoSimpleField()
     33       interface android.test.anno.AnnoSimpleField
     34   annotations on FIELD public static int android.test.anno.SimplyNoted.mOneFoo:
     35     @android.test.anno.AnnoSimpleField()
     36       interface android.test.anno.AnnoSimpleField
     37 
     38 annotations on TYPE interface android.test.anno.INoted(1):
     39   @android.test.anno.AnnoSimpleType2()
     40     interface android.test.anno.AnnoSimpleType2
     41 
     42   annotations on METH public abstract int android.test.anno.INoted.bar():
     43     @android.test.anno.AnnoSimpleMethod()
     44       interface android.test.anno.AnnoSimpleMethod
     45     method parameter annotations:
     46 
     47 annotations on TYPE class android.test.anno.SubNoted(3):
     48   @android.test.anno.AnnoFancyType(name=unknown, num=5)
     49     interface android.test.anno.AnnoFancyType
     50   @android.test.anno.AnnoSimpleType()
     51     interface android.test.anno.AnnoSimpleType
     52   @android.test.anno.AnnoSimpleType2()
     53     interface android.test.anno.AnnoSimpleType2
     54 
     55   annotations on CTOR public android.test.anno.SubNoted():
     56     constructor parameter annotations:
     57   annotations on METH public int android.test.anno.SubNoted.bar():
     58     method parameter annotations:
     59   annotations on FIELD int android.test.anno.SubNoted.mBar:
     60 
     61 annotations on TYPE class android.test.anno.FullyNoted(1):
     62   @android.test.anno.AnnoFancyType(name=full, num=5)
     63     interface android.test.anno.AnnoFancyType
     64 
     65   annotations on CTOR android.test.anno.FullyNoted(int):
     66     @android.test.anno.AnnoFancyConstructor(numArgs=1)
     67       interface android.test.anno.AnnoFancyConstructor
     68     constructor parameter annotations:
     69       @android.test.anno.AnnoFancyParameter(factor=0.5)
     70         interface android.test.anno.AnnoFancyParameter
     71   annotations on METH public int android.test.anno.FullyNoted.bar(int,long) throws java.io.IOException,java.io.EOFException:
     72     @android.test.anno.AnnoFancyMethod(biteMe=false, callMe=true, enumerated=FOO, someClass=class android.test.anno.SomeClass)
     73       interface android.test.anno.AnnoFancyMethod
     74     method parameter annotations:
     75       @android.test.anno.AnnoSimpleParameter()
     76         interface android.test.anno.AnnoSimpleParameter
     77       @android.test.anno.AnnoFancyParameter(factor=3.7879912899761)
     78         interface android.test.anno.AnnoFancyParameter
     79   annotations on METH public int android.test.anno.FullyNoted.bar1(int,long) throws java.io.IOException:
     80     @android.test.anno.AnnoFancyMethod(biteMe=true, callMe=false, enumerated=BAR, someClass=class android.test.anno.SomeClass)
     81       interface android.test.anno.AnnoFancyMethod
     82     method parameter annotations:
     83       @android.test.anno.AnnoSimpleParameter()
     84         interface android.test.anno.AnnoSimpleParameter
     85       @android.test.anno.AnnoFancyParameter(factor=3.7879912899761)
     86         interface android.test.anno.AnnoFancyParameter
     87   annotations on METH public int android.test.anno.FullyNoted.notAnnotated():
     88     method parameter annotations:
     89   annotations on FIELD int android.test.anno.FullyNoted.mBar:
     90     @android.test.anno.AnnoFancyField(nombre=fubar)
     91       interface android.test.anno.AnnoFancyField
     92     aff: @android.test.anno.AnnoFancyField(nombre=fubar) / true
     93     --> nombre is 'fubar'
     94 
     95 SimplyNoted.get(AnnoSimpleType) = @android.test.anno.AnnoSimpleType()
     96 SimplyNoted.get(AnnoSimpleTypeInvis) = null
     97 SubNoted.get(AnnoSimpleType) = @android.test.anno.AnnoSimpleType()
     98 
     99 Package annotations:
    100       @android.test.anno.AnnoSimplePackage()
    101         interface android.test.anno.AnnoSimplePackage
    102 Package declared annotations:
    103       @android.test.anno.AnnoSimplePackage()
    104         interface android.test.anno.AnnoSimplePackage
    105 
    106 Inner Classes:
    107 Canonical:android.test.anno.ClassWithInnerClasses.InnerClass Simple:InnerClass
    108 Canonical:null Simple:
    109 
    110 Get annotation with missing class should not throw
    111 Got expected TypeNotPresentException
    112 Got expected NoSuchFieldError
    113