Home
last modified time | relevance | path

Searched refs:defc (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/sun/invoke/util/
DVerifyAccess.java86 Class<?> defc, // actual def class in isMemberAccessible() argument
98 if (defc == lookupClass && in isMemberAccessible()
105 assert !defc.isInterface(); // protected members aren't allowed in interfaces in isMemberAccessible()
107 isSamePackage(defc, lookupClass)) in isMemberAccessible()
118 isSubClass(lookupClass, defc)) in isMemberAccessible()
122 assert !defc.isInterface(); // package-private members aren't allowed in interfaces in isMemberAccessible()
124 isSamePackage(defc, lookupClass)); in isMemberAccessible()
129 isSamePackageMember(defc, lookupClass)); in isMemberAccessible()
141 static boolean isSubClass(Class<?> lookupClass, Class<?> defc) { in isSubClass() argument
142 return defc.isAssignableFrom(lookupClass) && in isSubClass()
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandles.java1872 void checkAccess(Class<?> refc, Class<?> defc, int mods, String methName) in checkAccess() argument
1877 defc == Object.class && in checkAccess()
1905 if (VerifyAccess.isMemberAccessible(refc, defc, mods, lookupClass(), allowedModes)) in checkAccess()
1910 && VerifyAccess.isSamePackage(defc, lookupClass())) in checkAccess()
1914 throwMakeAccessException(accessFailedMessage(refc, defc, mods), this); in checkAccess()
1917 String accessFailedMessage(Class<?> refc, Class<?> defc, int mods) { in accessFailedMessage() argument
1919 boolean classOK = (Modifier.isPublic(defc.getModifiers()) && in accessFailedMessage()
1920 (defc == refc || in accessFailedMessage()
1923 classOK = (VerifyAccess.isClassAccessible(defc, lookupClass(), ALL_MODES) && in accessFailedMessage()
1924 (defc == refc || in accessFailedMessage()
/libcore/ojluni/annotations/hiddenapi/java/lang/invoke/
DMethodHandles.java578 java.lang.Class<?> defc, in checkAccess() argument
586 java.lang.Class<?> refc, java.lang.Class<?> defc, int mods) { in accessFailedMessage() argument