Home
last modified time | relevance | path

Searched refs:Lookup (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/lambda/java/java/lang/invoke/
DLambdaMetafactory.java36 public static CallSite metafactory(MethodHandles.Lookup caller, in metafactory()
44 public static CallSite altMetafactory(MethodHandles.Lookup caller, in altMetafactory()
DMethodHandles.java36 public static Lookup lookup() { return null; } in lookup()
38 public static Lookup publicLookup() { return null; } in publicLookup()
44 class Lookup { class in MethodHandles
57 public Lookup in(Class<?> requestedLookupClass) { return null; } in in()
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandles.java88 public static Lookup lookup() { in lookup()
89 return new Lookup(Reflection.getCallerClass()); in lookup()
112 public static Lookup publicLookup() { in publicLookup()
113 return Lookup.PUBLIC_LOOKUP; in publicLookup()
507 class Lookup { class in MethodHandles
595 Lookup(Class<?> lookupClass) { in Lookup() method in MethodHandles.Lookup
601 private Lookup(Class<?> lookupClass, int allowedModes) { in Lookup() method in MethodHandles.Lookup
630 public Lookup in(Class<?> requestedLookupClass) { in in()
655 return new Lookup(requestedLookupClass, newModes); in in()
667 static final Lookup PUBLIC_LOOKUP = new Lookup(Object.class, PUBLIC);
[all …]
DCallSite.java31 import static java.lang.invoke.MethodHandles.Lookup.IMPL_LOOKUP;
DMethodHandleImpl.java160 public <T extends Member> T reflectAs(Class<T> expected, MethodHandles.Lookup lookup) { in reflectAs()
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodHandleAccessorsTest.java538 MethodHandles.Lookup lookup = MethodHandles.lookup(); in testBooleanSettersAndGetters()
558 MethodHandles.Lookup lookup = MethodHandles.lookup(); in testByteSettersAndGetters()
578 MethodHandles.Lookup lookup = MethodHandles.lookup(); in testCharSettersAndGetters()
598 MethodHandles.Lookup lookup = MethodHandles.lookup(); in testShortSettersAndGetters()
618 MethodHandles.Lookup lookup = MethodHandles.lookup(); in testIntSettersAndGetters()
638 MethodHandles.Lookup lookup = MethodHandles.lookup(); in testFloatSettersAndGetters()
658 MethodHandles.Lookup lookup = MethodHandles.lookup(); in testDoubleSettersAndGetters()
678 MethodHandles.Lookup lookup = MethodHandles.lookup(); in testLongSettersAndGetters()
698 MethodHandles.Lookup lookup = MethodHandles.lookup(); in testStringSettersAndGetters()
720 MethodHandles.Lookup lookup = MethodHandles.lookup(); in testLookup()
[all …]
DCallSitesTest.java25 import java.lang.invoke.MethodHandles.Lookup;
31 import static java.lang.invoke.MethodHandles.Lookup.*;
/libcore/ojluni/annotations/hiddenapi/java/lang/invoke/
DMethodHandles.java37 public static java.lang.invoke.MethodHandles.Lookup lookup() { in lookup()
41 public static java.lang.invoke.MethodHandles.Lookup publicLookup() { in publicLookup()
363 public static final class Lookup { class in MethodHandles
365 Lookup(java.lang.Class<?> lookupClass) { in Lookup() method in MethodHandles.Lookup
370 private Lookup(java.lang.Class<?> lookupClass, int allowedModes) { in Lookup() method in MethodHandles.Lookup
386 public java.lang.invoke.MethodHandles.Lookup in(java.lang.Class<?> requestedLookupClass) { in in()
608 static final java.lang.invoke.MethodHandles.Lookup IMPL_LOOKUP;
622 static final java.lang.invoke.MethodHandles.Lookup PUBLIC_LOOKUP;
/libcore/ojluni/src/main/java/sun/invoke/util/
DVerifyAccess.java41 private static final int PACKAGE_ALLOWED = java.lang.invoke.MethodHandles.Lookup.PACKAGE;