Searched refs:PACKAGE (Results 1 – 11 of 11) sorted by relevance
/libcore/luni/src/test/java/libcore/sun/invoke/util/ |
D | VerifyAccessTest.java | 38 MethodHandles.Lookup.PACKAGE)); in testIsClassAccessible() 40 MethodHandles.Lookup.PACKAGE)); in testIsClassAccessible() 44 MethodHandles.Lookup.PACKAGE)); in testIsClassAccessible()
|
/libcore/ojluni/src/main/java/java/lang/annotation/ |
D | ElementType.java | 96 PACKAGE, enumConstant
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Deprecated.java | 43 @Target(value={CONSTRUCTOR, FIELD, LOCAL_VARIABLE, METHOD, PACKAGE, PARAMETER, TYPE})
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | TestPackageAnnotation.java | 24 @Target(ElementType.PACKAGE)
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/ |
D | ElementTypeTest.java | 43 assertSame(ElementType.PACKAGE, ElementType.valueOf("PACKAGE")); in test_valueOfLjava_lang_String()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandles.java | 540 public static final int PACKAGE = Modifier.STATIC; field in MethodHandles.Lookup 542 private static final int ALL_MODES = (PUBLIC | PRIVATE | PROTECTED | PACKAGE); 551 mods &= (ALL_MODES - PACKAGE); in fixmods() 552 return (mods != 0) ? mods : PACKAGE; in fixmods() 639 if ((newModes & PACKAGE) != 0 in in() 641 newModes &= ~(PACKAGE|PRIVATE); in in() 728 case PUBLIC|PACKAGE: in toString() 1906 if ((requestedModes & PROTECTED) != 0 && (allowedModes & PACKAGE) != 0 in checkAccess() 1919 if (!classOK && (allowedModes & PACKAGE) != 0) { in accessFailedMessage()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/ |
D | AnnotatedElementTestSupport.java | 67 ElementType.PARAMETER, ElementType.PACKAGE }) 76 ElementType.PARAMETER, ElementType.PACKAGE })
|
/libcore/ojluni/src/main/java/sun/invoke/util/ |
D | VerifyAccess.java | 41 private static final int PACKAGE_ALLOWED = java.lang.invoke.MethodHandles.Lookup.PACKAGE;
|
/libcore/ojluni/src/lambda/java/java/lang/invoke/ |
D | MethodHandles.java | 51 public static final int PACKAGE = 0; field in MethodHandles.Lookup
|
/libcore/ojluni/annotations/hiddenapi/java/lang/invoke/ |
D | MethodHandles.java | 614 public static final int PACKAGE = 8; // 0x8 field in MethodHandles.Lookup
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandlesTest.java | 40 private static final int ALL_LOOKUP_MODES = (PUBLIC | PRIVATE | PACKAGE | PROTECTED); 69 assertEquals(PUBLIC | PRIVATE | PACKAGE, inner2.lookupModes()); in test_LookupIn()
|