/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ModifierTest.java | 77 assertTrue(Modifier.isPublic(Modifier.PUBLIC)); in test_isPublicI() 78 assertTrue(!Modifier.isPublic(-1 & ~Modifier.PUBLIC)); in test_isPublicI()
|
D | ReflectionTest.java | 556 assertTrue(Modifier.isPublic(modifiers)); in testClassModifiers() 567 assertFalse(Modifier.isPublic(modifiers)); in testInnerClassModifiers() 578 assertFalse(Modifier.isPublic(modifiers)); in testAnonymousClassModifiers()
|
D | OldAndroidClassTest.java | 99 assertTrue(Modifier.isPublic(helloClass.getModifiers())); in testGetModifiers()
|
/libcore/ojluni/src/main/java/jdk/internal/reflect/ |
D | Reflection.java | 155 if (!Modifier.isPublic(memberClass.getAccessFlags())) { in verifyMemberAccess() 165 if (Modifier.isPublic(modifiers)) { in verifyMemberAccess()
|
/libcore/ojluni/src/main/java/sun/reflect/ |
D | Reflection.java | 155 if (!Modifier.isPublic(memberClass.getAccessFlags())) { in verifyMemberAccess() 165 if (Modifier.isPublic(modifiers)) { in verifyMemberAccess()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | MalformedParameterizedTypeExceptionTests.java | 16 assertTrue("Constructor is not protected", Modifier.isPublic(ctor in test_Constructor()
|
D | ModifierTest.java | 109 assertTrue("PUBLIC returned false", Modifier.isPublic(ALL_FLAGS)); in test_isPublicI() 110 assertTrue("PUBLIC returned false", Modifier.isPublic(Modifier.PUBLIC)); in test_isPublicI() 112 .isPublic(Modifier.TRANSIENT)); in test_isPublicI()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | AbstractTest.java | 86 assertTrue(Modifier.isPublic(cls.getModifiers())); in assertImmutable()
|
D | TestZoneId.java | 101 assertTrue(Modifier.isPublic(cls.getModifiers())); in test_immutable()
|
/libcore/ojluni/src/test/java/util/Properties/ |
D | CheckOverrides.java | 71 (Modifier.isPublic(mods) || Modifier.isProtected(mods)); in isMethodOfInterest()
|
/libcore/ojluni/src/main/java/sun/invoke/util/ |
D | VerifyAccess.java | 180 if (Modifier.isPublic(refc.getModifiers())) in isClassAccessible()
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Modifier.java | 68 public static boolean isPublic(int mod) { in isPublic() method in Modifier
|
D | Proxy.java | 656 if (!Modifier.isPublic(flags)) { in apply() 888 if (!Modifier.isPublic(cl.getModifiers())) { in newProxyInstance()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Class.java | 2063 if (Modifier.isPublic(member.getModifiers())) { in getClasses() 2948 (recursivePublicMethods && !Modifier.isPublic(result.getAccessFlags()))) { in getMethod() 2958 if (result != null && Modifier.isPublic(result.getAccessFlags())) { in getPublicMethodRecursive() 2997 if (result != null && Modifier.isPublic(result.getAccessFlags())) { in findInterfaceMethod() 3393 … if (result == null || which == Member.PUBLIC && !Modifier.isPublic(result.getAccessFlags())) { in getConstructor0()
|
/libcore/ojluni/src/test/java/text/testlib/ |
D | IntlTest.java | 59 if (Modifier.isPublic(method.getModifiers()) in IntlTest()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ClassTest.java | 398 assertFalse("default class is public", Modifier.isPublic(dcm)); in test_getModifiers() 403 assertTrue("public class is not public", Modifier.isPublic(ocm)); in test_getModifiers()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandles.java | 2117 … if (Modifier.isPublic(mods) && Modifier.isPublic(refc.getModifiers()) && allowedModes != 0) in checkAccess() 2135 boolean classOK = (Modifier.isPublic(defc.getModifiers()) && in accessFailedMessage() 2137 Modifier.isPublic(refc.getModifiers()))); in accessFailedMessage() 2145 if (Modifier.isPublic(mods)) in accessFailedMessage()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | LambdaImplementationTest.java | 282 if ((!Modifier.isStatic(modifiers) && Modifier.isPublic(modifiers))) { in addNonStaticPublicMethods()
|
/libcore/ojluni/src/test/java/lang/invoke/ |
D | MethodHandlesTest.java | 496 } else if (name.contains("pkg_") || !Modifier.isPublic(defc.getModifiers())) { in accessCases() 502 boolean pubc = Modifier.isPublic(defc.getModifiers()); in accessCases()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | JSR166TestCase.java | 515 && Modifier.isPublic(method.getModifiers()) in testMethodNames()
|
/libcore/ojluni/src/main/java/java/security/ |
D | Provider.java | 1727 if (!Modifier.isPublic(clazz.getModifiers())) { in getImplClass()
|
/libcore/ojluni/src/main/java/java/util/ |
D | ResourceBundle.java | 3232 if (!Modifier.isPublic(ctor.getModifiers())) { in newBundle()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | JSR166TestCase.java | 613 && Modifier.isPublic(method.getModifiers()) in testMethodNames()
|
/libcore/api/ |
D | current.txt | 5131 method public static boolean isPublic(int);
|