Lines Matching refs:instance
62 private void showStrings(Target instance) in showStrings() argument
70 one = (String) field.get(instance); in showStrings()
73 two = (String) field.get(instance); in showStrings()
76 three = (String) field.get(instance); in showStrings()
84 Object instance = new otherpackage.Other(); in checkAccess() local
88 meth.invoke(instance); in checkAccess()
98 instance = otherpackage.Other.getInnerClassInstance(); in checkAccess()
99 target = instance.getClass(); in checkAccess()
103 meth.invoke(instance); in checkAccess()
111 int x = field.getInt(instance); in checkAccess()
145 Target instance = new Target(); in run() local
155 boxval = (Integer) meth.invoke(instance, argList); in run()
160 meth.invoke(instance, (Object[]) null); in run()
165 meth.invoke(instance, (Object[]) null); in run()
183 String strVal = (String) field.get(instance); in run()
186 showStrings(instance); in run()
188 field.set(instance, new String("a new string")); in run()
189 strVal = (String) field.get(instance); in run()
192 showStrings(instance); in run()
195 field.set(instance, new Object()); in run()
206 four = (String) field.get(instance); in run()
232 field.set(instance, null); in run()
253 longVal = field.getLong(instance); in run()
256 field.setLong(instance, 0x9988776655443322L); in run()
257 longVal = field.getLong(instance); in run()
266 int intVal = field.getInt(instance); in run()
268 Integer boxedIntVal = (Integer) field.get(instance); in run()
271 field.set(instance, new Integer(20202)); in run()
272 intVal = field.getInt(instance); in run()
274 field.setShort(instance, (short)30303); in run()
275 intVal = field.getInt(instance); in run()
277 field.setInt(instance, 40404); in run()
278 intVal = field.getInt(instance); in run()
281 field.set(instance, new Long(123)); in run()
288 field.setLong(instance, 123); in run()
295 field.set(instance, new String("abc")); in run()
303 field.getShort(instance); in run()
312 int superClassIntVal = field.getInt(instance); in run()
321 field.getLong(instance); in run()
343 String val = (String) field.get(instance); in run()
349 intVal = field.getInt(instance); in run()
352 field.setInt(instance, 99); in run()
357 intVal = field.getInt(instance); in run()
363 field.setInt(instance, 87); // exercise int version in run()
364 intVal = field.getInt(instance); in run()
366 field.set(instance, 88); // exercise Object version in run()
367 intVal = field.getInt(instance); in run()