Home
last modified time | relevance | path

Searched refs:PACKAGE (Results 1 – 11 of 11) sorted by relevance

/libcore/luni/src/test/java/libcore/sun/invoke/util/
DVerifyAccessTest.java38 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/
DElementType.java96 PACKAGE, enumConstant
/libcore/ojluni/src/main/java/java/lang/
DDeprecated.java43 @Target(value={CONSTRUCTOR, FIELD, LOCAL_VARIABLE, METHOD, PACKAGE, PARAMETER, TYPE})
/libcore/luni/src/test/java/libcore/java/lang/
DTestPackageAnnotation.java24 @Target(ElementType.PACKAGE)
/libcore/harmony-tests/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
DElementTypeTest.java43 assertSame(ElementType.PACKAGE, ElementType.valueOf("PACKAGE")); in test_valueOfLjava_lang_String()
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandles.java540 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/
DAnnotatedElementTestSupport.java67 ElementType.PARAMETER, ElementType.PACKAGE })
76 ElementType.PARAMETER, ElementType.PACKAGE })
/libcore/ojluni/src/main/java/sun/invoke/util/
DVerifyAccess.java41 private static final int PACKAGE_ALLOWED = java.lang.invoke.MethodHandles.Lookup.PACKAGE;
/libcore/ojluni/src/lambda/java/java/lang/invoke/
DMethodHandles.java51 public static final int PACKAGE = 0; field in MethodHandles.Lookup
/libcore/ojluni/annotations/hiddenapi/java/lang/invoke/
DMethodHandles.java614 public static final int PACKAGE = 8; // 0x8 field in MethodHandles.Lookup
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodHandlesTest.java40 private static final int ALL_LOOKUP_MODES = (PUBLIC | PRIVATE | PACKAGE | PROTECTED);
69 assertEquals(PUBLIC | PRIVATE | PACKAGE, inner2.lookupModes()); in test_LookupIn()