< prev index next >
test/langtools/tools/javac/processing/model/element/repeatingAnnotations/MixRepeatableAndOfficialContainerInheritedB1Test.java
Print this page
*** 38,49 ****
@BarInheritedContainer(value = {@BarInherited(value = 1), @BarInherited(value = 2)})
class M {}
@ExpectedBase(
value = BarInherited.class,
! getAnnotation = "@BarInherited(value=0)",
! getAnnotationsByType = {"@BarInherited(value=0)"},
getAllAnnotationMirrors = {
"@BarInherited(0)",
"@BarInheritedContainer({@BarInherited(1), @BarInherited(2)})",
"ExpectedBase",
"ExpectedContainer"
--- 38,49 ----
@BarInheritedContainer(value = {@BarInherited(value = 1), @BarInherited(value = 2)})
class M {}
@ExpectedBase(
value = BarInherited.class,
! getAnnotation = "@BarInherited(0)",
! getAnnotationsByType = {"@BarInherited(0)"},
getAllAnnotationMirrors = {
"@BarInherited(0)",
"@BarInheritedContainer({@BarInherited(1), @BarInherited(2)})",
"ExpectedBase",
"ExpectedContainer"
*** 54,63 ****
"ExpectedContainer"
})
@ExpectedContainer(
value = BarInheritedContainer.class,
getAnnotation = "@BarInheritedContainer("
! + "value={@BarInherited(value=1), @BarInherited(value=2)})",
getAnnotationsByType = {"@BarInheritedContainer("
! + "value={@BarInherited(value=1), @BarInherited(value=2)})"})
! @BarInherited(value = 0)
class MixRepeatableAndOfficialContainerInheritedB1Test extends M {}
--- 54,63 ----
"ExpectedContainer"
})
@ExpectedContainer(
value = BarInheritedContainer.class,
getAnnotation = "@BarInheritedContainer("
! + "{@BarInherited(1), @BarInherited(2)})",
getAnnotationsByType = {"@BarInheritedContainer("
! + "{@BarInherited(1), @BarInherited(2)})"})
! @BarInherited(0)
class MixRepeatableAndOfficialContainerInheritedB1Test extends M {}
< prev index next >