Home
last modified time | relevance | path

Searched refs:lookupClass (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/sun/invoke/util/
DVerifyAccess.java88 Class<?> lookupClass, in isMemberAccessible() argument
94 if (!isClassAccessible(refc, lookupClass, allowedModes)) { in isMemberAccessible()
98 if (defc == lookupClass && in isMemberAccessible()
107 isSamePackage(defc, lookupClass)) in isMemberAccessible()
115 !isRelatedClass(refc, lookupClass)) in isMemberAccessible()
118 isSubClass(lookupClass, defc)) in isMemberAccessible()
124 isSamePackage(defc, lookupClass)); in isMemberAccessible()
129 isSamePackageMember(defc, lookupClass)); in isMemberAccessible()
135 static boolean isRelatedClass(Class<?> refc, Class<?> lookupClass) { in isRelatedClass() argument
136 return (refc == lookupClass || in isRelatedClass()
[all …]
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandles.java509 /* @NonNull */ private final Class<?> lookupClass; field in MethodHandles.Lookup
564 public Class<?> lookupClass() { in lookupClass() method in MethodHandles.Lookup
565 return lookupClass; in lookupClass()
595 Lookup(Class<?> lookupClass) { in Lookup() argument
596 this(lookupClass, ALL_MODES); in Lookup()
598 checkUnprivilegedlookupClass(lookupClass, ALL_MODES); in Lookup()
601 private Lookup(Class<?> lookupClass, int allowedModes) { in Lookup() argument
602 this.lookupClass = lookupClass; in Lookup()
636 if (requestedLookupClass == this.lookupClass) in in()
640 && !VerifyAccess.isSamePackage(this.lookupClass, requestedLookupClass)) { in in()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/lang/invoke/
DMethodHandles.java365 Lookup(java.lang.Class<?> lookupClass) { in Lookup() argument
370 private Lookup(java.lang.Class<?> lookupClass, int allowedModes) { in Lookup() argument
378 public java.lang.Class<?> lookupClass() { in lookupClass() method in MethodHandles.Lookup
391 java.lang.Class<?> lookupClass, int allowedModes) { in checkUnprivilegedlookupClass() argument
634 private final java.lang.Class<?> lookupClass; field in MethodHandles.Lookup
637 lookupClass = null;
/libcore/ojluni/src/lambda/java/java/lang/invoke/
DMethodHandles.java53 public Class<?> lookupClass() { return null; } in lookupClass() method in MethodHandles.Lookup