Searched refs:PROTECTED (Results 1 – 12 of 12) sorted by relevance
92 return (mod & PROTECTED) != 0; in isProtected()248 if ((mod & PROTECTED) != 0) sb.append("protected "); in toString()288 public static final int PROTECTED = 0x00000004; field in Modifier399 Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE |408 Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE |417 Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE;424 Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE |433 Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE |448 Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE;
42 private static final int PROTECTED_OR_PACKAGE_ALLOWED = (PACKAGE_ALLOWED|PROTECTED);43 private static final int ALL_ACCESS_MODES = (PUBLIC|PRIVATE|PROTECTED|PACKAGE_ONLY);104 case PROTECTED: in isMemberAccessible()109 if ((allowedModes & PROTECTED) == 0) in isMemberAccessible()117 if ((allowedModes & PROTECTED) != 0 && in isMemberAccessible()
99 .isProtected(Modifier.PROTECTED)); in test_isProtectedI()199 assertEquals(4, Modifier.PROTECTED); in test_Constants_Value()321 assertEquals(Modifier.PROTECTED, ProtectedClazz.class.getModifiers()); in test_Class_Modifier()326 assertEquals(Modifier.PROTECTED + Modifier.ABSTRACT, in test_Class_Modifier()333 assertEquals(Modifier.PROTECTED + Modifier.FINAL, in test_Class_Modifier()340 assertEquals(Modifier.PROTECTED + Modifier.STATIC, in test_Class_Modifier()356 assertEquals(Modifier.PROTECTED + Modifier.STATIC + Modifier.ABSTRACT, in test_Class_Modifier()365 assertEquals(Modifier.PROTECTED + Modifier.STATIC + Modifier.FINAL, in test_Class_Modifier()374 assertEquals(Modifier.PROTECTED + Modifier.INTERFACE + Modifier.STATIC in test_Class_Modifier()386 assertEquals(Modifier.PROTECTED + Modifier.INTERFACE + Modifier.STATIC in test_Class_Modifier()
249 ((mod & Modifier.PROTECTED) == Modifier.PROTECTED) in test_getModifiers()
966 int mask = (Modifier.PROTECTED | Modifier.STATIC) in test_getModifiers()
72 assertTrue(Modifier.isProtected(Modifier.PROTECTED)); in test_isProtectedI()73 assertTrue(!Modifier.isProtected(-1 & ~Modifier.PROTECTED)); in test_isProtectedI()
533 public static final int PROTECTED = Modifier.PROTECTED; field in MethodHandles.Lookup542 private static final int ALL_MODES = (PUBLIC | PRIVATE | PROTECTED | PACKAGE);638 int newModes = (allowedModes & (ALL_MODES & ~PROTECTED)); in in()730 case ALL_MODES & ~PROTECTED: in toString()1893 mods ^= Modifier.PROTECTED | Modifier.PUBLIC; in checkAccess()1898 mods ^= Modifier.PROTECTED; in checkAccess()1909 if ((requestedModes & PROTECTED) != 0 && (allowedModes & PACKAGE) != 0 in checkAccess()
63 mods = mods & (~Modifier.PROTECTED); in ensureMemberAccess()
49 public static final int PROTECTED = 0; field in MethodHandles.Lookup
1423 ((mods & (Modifier.PUBLIC | Modifier.PROTECTED)) == 0 && in getSerializableConstructor()1469 } else if ((mods & (Modifier.PUBLIC | Modifier.PROTECTED)) != 0) { in getInheritableMethod()1788 (Modifier.PUBLIC | Modifier.PRIVATE | Modifier.PROTECTED | in computeDefaultSUID()1839 (Modifier.PUBLIC | Modifier.PRIVATE | Modifier.PROTECTED | in computeDefaultSUID()1866 (Modifier.PUBLIC | Modifier.PRIVATE | Modifier.PROTECTED | in computeDefaultSUID()
618 public static final int PROTECTED = 4; // 0x4 field in MethodHandles.Lookup
41 private static final int ALL_LOOKUP_MODES = (PUBLIC | PRIVATE | PACKAGE | PROTECTED);61 assertEquals(ALL_LOOKUP_MODES & ~(PROTECTED | PRIVATE), siblingLookup.lookupModes()); in test_LookupIn()