< prev index next >
test/langtools/tools/javac/processing/model/element/repeatingAnnotations/MixRepeatableAndOfficialContainerInheritedA1Test.java
Print this page
@@ -33,19 +33,19 @@
* @build JavacTestingAbstractProcessor ElementRepAnnoTester
* @compile -processor ElementRepAnnoTester -proc:only
* MixRepeatableAndOfficialContainerInheritedA1Test.java
*/
-@BarInherited(value = 0)
+@BarInherited(0)
class E {}
@ExpectedBase(
value = BarInherited.class,
- getAnnotation = "@BarInherited(value=0)",
+ getAnnotation = "@BarInherited(0)",
getAnnotationsByType = {
- "@BarInherited(value=1)",
- "@BarInherited(value=2)"
+ "@BarInherited(1)",
+ "@BarInherited(2)"
},
getAllAnnotationMirrors = {
"@BarInherited(0)",
"@BarInheritedContainer({@BarInherited(1), @BarInherited(2)})",
"ExpectedBase",
@@ -57,10 +57,10 @@
"ExpectedContainer"
})
@ExpectedContainer(
value = BarInheritedContainer.class,
getAnnotation = "@BarInheritedContainer("
- + "value={@BarInherited(value=1), @BarInherited(value=2)})",
+ + "{@BarInherited(1), @BarInherited(2)})",
getAnnotationsByType = {"@BarInheritedContainer("
- + "value={@BarInherited(value=1), @BarInherited(value=2)})"})
-@BarInheritedContainer(value = {@BarInherited(value = 1), @BarInherited(value = 2)})
+ + "{@BarInherited(1), @BarInherited(2)})"})
+@BarInheritedContainer({@BarInherited(1), @BarInherited(2)})
class MixRepeatableAndOfficialContainerInheritedA1Test extends E {}
< prev index next >