Searched refs:isPublic (Results 1 – 17 of 17) sorted by relevance
77 assertTrue(Modifier.isPublic(Modifier.PUBLIC)); in test_isPublicI()78 assertTrue(!Modifier.isPublic(-1 & ~Modifier.PUBLIC)); in test_isPublicI()
556 assertTrue(Modifier.isPublic(modifiers)); in testClassModifiers()567 assertFalse(Modifier.isPublic(modifiers)); in testInnerClassModifiers()578 assertFalse(Modifier.isPublic(modifiers)); in testAnonymousClassModifiers()
96 assertTrue(Modifier.isPublic(helloClass.getModifiers())); in testGetModifiers()
155 if (!Modifier.isPublic(memberClass.getAccessFlags())) { in verifyMemberAccess()165 if (Modifier.isPublic(modifiers)) { in verifyMemberAccess()
16 assertTrue("Constructor is not protected", Modifier.isPublic(ctor in test_Constructor()
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()
86 assertTrue(Modifier.isPublic(cls.getModifiers())); in assertImmutable()
101 assertTrue(Modifier.isPublic(cls.getModifiers())); in test_immutable()
1362 if (Modifier.isPublic(member.getModifiers())) { in getClasses()2070 (recursivePublicMethods && !Modifier.isPublic(result.getAccessFlags()))) { in getMethod()2080 if (result != null && Modifier.isPublic(result.getAccessFlags())) { in getPublicMethodRecursive()2119 if (result != null && Modifier.isPublic(result.getAccessFlags())) { in findInterfaceMethod()2330 … if (result == null || which == Member.PUBLIC && !Modifier.isPublic(result.getAccessFlags())) { in getConstructor0()
180 if (Modifier.isPublic(refc.getModifiers())) in isClassAccessible()
67 public static boolean isPublic(int mod) { in isPublic() method in Modifier
656 if (!Modifier.isPublic(flags)) { in apply()888 if (!Modifier.isPublic(cl.getModifiers())) { in newProxyInstance()
1901 … if (Modifier.isPublic(mods) && Modifier.isPublic(refc.getModifiers()) && allowedModes != 0) in checkAccess()1919 boolean classOK = (Modifier.isPublic(defc.getModifiers()) && in accessFailedMessage()1921 Modifier.isPublic(refc.getModifiers()))); in accessFailedMessage()1929 if (Modifier.isPublic(mods)) in accessFailedMessage()
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()
282 if ((!Modifier.isStatic(modifiers) && Modifier.isPublic(modifiers))) { in addNonStaticPublicMethods()
515 && Modifier.isPublic(method.getModifiers()) in testMethodNames()
1678 if (!Modifier.isPublic(clazz.getModifiers())) { in getImplClass()