Home | History | Annotate | Download | only in 046-reflect
      1 Method name is myMethod
      2  Declaring class is Target
      3  Arg 0: int
      4  Exc 0: java.lang.NullPointerException
      5  Exc 1: java.io.IOException
      6  Return type is int
      7  Access flags are 0x1
      8 Method name is myMethod
      9  Declaring class is SuperTarget
     10  Arg 0: float
     11  Return type is int
     12  Access flags are 0x1
     13 Method name is myNoargMethod
     14  Declaring class is Target
     15  Return type is void
     16  Access flags are 0x9
     17 Method name is myMethod
     18  Declaring class is Target
     19  Arg 0: [Ljava.lang.String;
     20  Arg 1: float
     21  Arg 2: char
     22  Return type is int
     23  Access flags are 0x1
     24 SuperTarget constructor ()V
     25 Target constructor ()V
     26 Before, float is 3.1415925
     27 myMethod: hi there 3.1415925 Q !
     28 Result of invoke: 7
     29 Calling no-arg void-return method
     30 myNoargMethod ()V
     31 throwingMethod
     32 Invoke got expected exception:
     33 java.lang.reflect.InvocationTargetException
     34 java.lang.NullPointerException: gratuitous throw!
     35 
     36 Field name is string1
     37  Declaring class is Target
     38  Field type is java.lang.String
     39  Access flags are 0x1
     40   string1 value is 'hey'
     41   ::: hey:yo:there
     42   string1 value is now 'a new string'
     43   ::: a new string:yo:there
     44   got expected illegal obj store exc
     45   got the other expected access exc
     46   got expected arg exc
     47 pubLong initial value is 1122334455667788
     48 pubLong new value is 9988776655443322
     49 Field name is superInt
     50  Declaring class is SuperTarget
     51  Field type is int
     52  Access flags are 0x1
     53   superInt value is 1010101
     54   superInt boxed is 1010101
     55   superInt value is now 20202
     56   superInt value (from short) is now 30303
     57   superInt value is now 40404
     58   got expected long->int failure
     59   got expected long->int failure
     60   got expected string->int failure
     61   got expected int->short failure
     62 Field name is superClassInt
     63  Declaring class is SuperTarget
     64  Field type is int
     65  Access flags are 0x9
     66   superClassInt value is 1010102
     67 Field name is staticDouble
     68  Declaring class is Target
     69  Field type is double
     70  Access flags are 0x9
     71   staticDoubleVal value is 3.3
     72   got expected double->long failure
     73 as expected: aPrivateInt not found
     74 Field name is constantString
     75  Declaring class is Target
     76  Field type is java.lang.String
     77  Access flags are 0x19
     78   Constant test value is a constant string
     79 Field name is cantTouchThis
     80  Declaring class is Target
     81  Field type is int
     82  Access flags are 0x11
     83   cantTouchThis is 77
     84   cantTouchThis is now 99
     85   public final int Target.cantTouchThis accessible=false
     86   public final int Target.cantTouchThis accessible=true
     87   cantTouchThis is now 87
     88   cantTouchThis is now 88
     89 cons modifiers=1
     90 SuperTarget constructor ()V
     91 Target constructor (IF)V : ii=7 ff=3.3333
     92 myMethod (I)I
     93  arg=17 anInt=7
     94 ReflectTest done!
     95 public method
     96 static java.lang.Object java.util.Collections.checkType(java.lang.Object,java.lang.Class) accessible=false
     97 static java.lang.Object java.util.Collections.checkType(java.lang.Object,java.lang.Class) accessible=true
     98 checkType invoking null
     99 checkType got expected exception
    100 calling const-class FieldNoisyInitUser.class
    101 called const-class FieldNoisyInitUser.class
    102 got fields
    103 got field
    104 FieldNoisyInitUser is initializing
    105 read field value
    106 FieldNoisyInit is initializing
    107 
    108 calling const-class MethodNoisyInitUser.class
    109 called const-class MethodNoisyInitUser.class
    110 got methods
    111 got method
    112 MethodNoisyInitUser is initializing
    113 invoked method
    114 MethodNoisyInit is initializing
    115 
    116 generic field: java.util.List<java.lang.String>
    117 generic method fancyMethod params='[1] java.util.ArrayList<java.lang.String>' ret='java.util.Map<java.lang.Integer, java.lang.String>'
    118 generic ctor Main params='[1] java.util.ArrayList<java.lang.Integer>'
    119 fields are unique
    120 fields are .equals
    121 methods are unique
    122 methods are .equals
    123