Home | History | Annotate | Download | only in src

Lines Matching refs:instance

60     private void showStrings(Target instance)
68 one = (String) field.get(instance);
71 two = (String) field.get(instance);
74 three = (String) field.get(instance);
82 Object instance = new otherpackage.Other();
86 meth.invoke(instance);
96 instance = otherpackage.Other.getInnerClassInstance();
97 target = instance.getClass();
101 meth.invoke(instance);
109 int x = field.getInt(instance);
144 Target instance = new Target();
154 boxval = (Integer) meth.invoke(instance, argList);
159 meth.invoke(instance, (Object[]) null);
164 meth.invoke(instance, (Object[]) null);
182 String strVal = (String) field.get(instance);
185 showStrings(instance);
187 field.set(instance, new String("a new string"));
188 strVal = (String) field.get(instance);
191 showStrings(instance);
194 field.set(instance, new Object());
205 four = (String) field.get(instance);
231 field.set(instance, null);
238 longVal = field.getLong(instance);
241 field.setLong(instance, 0x9988776655443322L);
242 longVal = field.getLong(instance);
251 int intVal = field.getInt(instance);
253 Integer boxedIntVal = (Integer) field.get(instance);
256 field.set(instance, new Integer(20202));
257 intVal = field.getInt(instance);
259 field.setShort(instance, (short)30303);
260 intVal = field.getInt(instance);
262 field.setInt(instance, 40404);
263 intVal = field.getInt(instance);
266 field.set(instance, new Long(123));
273 field.setLong(instance, 123);
280 field.set(instance, new String("abc"));
288 field.getShort(instance);
297 int superClassIntVal = field.getInt(instance);
306 field.getLong(instance);
328 String val = (String) field.get(instance);
334 intVal = field.getInt(instance);
337 field.setInt(instance, 99);
341 intVal = field.getInt(instance);
347 field.setInt(instance, 87); // exercise int version
348 intVal = field.getInt(instance);
350 field.set(instance, 88); // exercise Object version
351 intVal = field.getInt(instance);