Home
last modified time | relevance | path

Searched refs:isProtected (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DModifierTest.java72 assertTrue(Modifier.isProtected(Modifier.PROTECTED)); in test_isProtectedI()
73 assertTrue(!Modifier.isProtected(-1 & ~Modifier.PROTECTED)); in test_isProtectedI()
DReflectionTest.java557 assertFalse(Modifier.isProtected(modifiers)); in testClassModifiers()
568 assertFalse(Modifier.isProtected(modifiers)); in testInnerClassModifiers()
579 assertFalse(Modifier.isProtected(modifiers)); in testAnonymousClassModifiers()
/libcore/ojluni/src/main/java/sun/reflect/
DReflection.java171 if (Modifier.isProtected(modifiers)) { in verifyMemberAccess()
194 if (Modifier.isProtected(modifiers)) { in verifyMemberAccess()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DModifierTest.java97 assertTrue("PROTECTED returned false", Modifier.isProtected(ALL_FLAGS)); in test_isProtectedI()
99 .isProtected(Modifier.PROTECTED)); in test_isProtectedI()
101 .isProtected(Modifier.TRANSIENT)); in test_isProtectedI()
DInvocationTargetExceptionTest.java121 assertTrue("Constructor is not protected", Modifier.isProtected(ctor in test_Constructor()
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicLongFieldUpdater.java421 this.cclass = (Modifier.isProtected(modifiers)) ? caller : tclass; in CASUpdater()
562 this.cclass = (Modifier.isProtected(modifiers)) ? caller : tclass; in LockedUpdater()
DAtomicReferenceFieldUpdater.java359 this.cclass = (Modifier.isProtected(modifiers)) ? caller : tclass; in AtomicReferenceFieldUpdaterImpl()
DAtomicIntegerFieldUpdater.java426 this.cclass = (Modifier.isProtected(modifiers)) ? caller : tclass; in AtomicIntegerFieldUpdaterImpl()
/libcore/ojluni/src/main/java/sun/reflect/misc/
DReflectUtil.java61 if (target == null && Modifier.isProtected(modifiers)) { in ensureMemberAccess()
/libcore/ojluni/src/main/java/java/lang/reflect/
DModifier.java91 public static boolean isProtected(int mod) { in isProtected() method in Modifier
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassTest.java399 assertFalse("default class is protected", Modifier.isProtected(dcm)); in test_getModifiers()
404 assertFalse("public class is protected", Modifier.isProtected(ocm)); in test_getModifiers()
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandles.java1876 if (Modifier.isProtected(mods) && in checkAccess()
1896 if (Modifier.isProtected(mods) && Modifier.isConstructor(mods)) { in checkAccess()
1933 if (Modifier.isProtected(mods)) in accessFailedMessage()
/libcore/luni/src/test/java/libcore/java/lang/
DLambdaImplementationTest.java361 assertFalse(Modifier.isProtected(classModifiers)); in assertGeneralLambdaClassCharacteristics()
/libcore/api/
Dcurrent.txt4596 method public static boolean isProtected(int);