Searched defs:LOOKUP (Results 1 - 7 of 7) sorted by relevance
/openjdk7/jdk/test/java/lang/invoke/ |
H A D | JavaDocExamplesTest.java | 87 static final private Lookup LOOKUP = lookup(); field in class:JavaDocExamplesTest 88 // static final private MethodHandle CONCAT_1 = LOOKUP.findVirtual(String.class, 90 // static final private MethodHandle HASHCODE_1 = LOOKUP.findVirtual(Object.class, 97 Class<?> THIS_CLASS = LOOKUP.lookupClass(); 98 CONCAT_2 = LOOKUP.findVirtual(String.class, 100 HASHCODE_2 = LOOKUP.findVirtual(Object.class, 102 ADD_2 = LOOKUP.findStatic(THIS_CLASS, "add", methodType(int.class, int.class, int.class)); 103 SUB_2 = LOOKUP.findStatic(THIS_CLASS, "sub", methodType(int.class, int.class, int.class)); 115 MethodHandle CONCAT_3 = LOOKUP.findVirtual(String.class, 117 MethodHandle HASHCODE_3 = LOOKUP [all...] |
H A D | ThrowExceptionsTest.java | 44 private static final Lookup LOOKUP = lookup(); field in class:ThrowExceptionsTest 160 mh = LOOKUP.unreflect(m);
|
H A D | InvokeGenericTest.java | 305 static final Lookup LOOKUP = MethodHandles.lookup(); field in class:InvokeGenericTest 326 = LOOKUP.findStatic(LOOKUP.lookupClass(), 462 toString_MH = LOOKUP.
|
H A D | PrivateInvokeTest.java | 46 private static final Lookup LOOKUP = lookup(); field in class:PrivateInvokeTest 120 MethodHandle mh = LOOKUP.unreflect(m);
|
H A D | RicochetTest.java | 515 private static final Lookup LOOKUP = lookup(); field in class:RicochetTest 520 return LOOKUP.findStatic(LOOKUP.lookupClass(), name, methodType(rtype, ptypes)); 531 String qual = LOOKUP.lookupClass().getName();
|
H A D | BigArityTest.java | 47 static MethodHandles.Lookup LOOKUP = MethodHandles.lookup(); field in class:BigArityTest
|
/openjdk7/jdk/src/share/classes/java/lang/invoke/ |
H A D | BoundMethodHandle.java | 749 return LOOKUP.findGetter(cbmhClass, fieldName, fieldType); 803 return linkConstructor(LOOKUP.findConstructor(cbmh, MethodType.fromMethodDescriptorString(makeSignature(types, true), null))); 851 private static final Lookup LOOKUP = Lookup.IMPL_LOOKUP; field in class:BoundMethodHandle
|
Completed in 140 milliseconds