Searched refs:MyAnnotation (Results 1 - 7 of 7) sorted by relevance

/openjdk9/langtools/test/tools/javac/annotations/neg/
H A DRecovery1.java12 @interface MyAnnotation { interface
18 @MyAnnotation (value="baz", markerToo="not default")
/openjdk9/jdk/test/java/lang/annotation/repeatingAnnotations/
H A DRepeatingWithSecurityManager.java47 Asserts.assertTrue(TwoAnnotations.class.getAnnotationsByType(MyAnnotation.class).length == 2,
49 Arrays.toString(TwoAnnotations.class.getAnnotationsByType(MyAnnotation.class)));
52 @MyAnnotation(name = "foo")
53 @MyAnnotation(name = "bar")
59 MyAnnotation[] value();
64 @interface MyAnnotation { interface in class:RepeatingWithSecurityManager
H A DCustomRepeatingWithSecurityManager.java47 Asserts.assertTrue(new CustomAnnotations().getAnnotationsByType(MyAnnotation.class).length == 2,
49 Asserts.assertEquals(new CustomAnnotations().getAnnotationsByType(MyAnnotation.class)[1].name(),
73 public MyAnnotation[] value() {
74 MyAnnotation[] res = new MyAnnotation[2];
86 static class MyAnnotationImpl implements MyAnnotation {
102 MyAnnotation[] value();
107 @interface MyAnnotation { interface in class:CustomRepeatingWithSecurityManager
/openjdk9/langtools/test/tools/javac/annotations/typeAnnotations/
H A DTypeParameterTarget.java43 @interface MyAnnotation { } interface
H A DTypeUseTarget.java57 @interface MyAnnotation { } interface
/openjdk9/hotspot/test/runtime/8007320/
H A DConstMethodTest.java38 @interface MyAnnotation { interface
75 @MyAnnotation(name="someName", value = "Hello World")
102 @MyAnnotation(name="someName", value="Hello World")
134 equal(mann.toString(), "@MyAnnotation(date=\"today\", name=\"someName\", value=\"Hello World\")");
/openjdk9/jdk/test/tools/pack200/typeannos/
H A DTypeUseTarget.java57 @interface MyAnnotation { } interface

Completed in 50 milliseconds