test/tools/javac/annotations/typeAnnotations/referenceinfos/Constructors.java
Print this page
*** 44,54 ****
}
@TADescriptions({
@TADescription(annotation = "TA", type = METHOD_RETURN, genericLocation = {1, 0}),
@TADescription(annotation = "TB", type = METHOD_RETURN, genericLocation = {1, 0}),
! @TADescription(annotation = "TC", type = METHOD_FORMAL_PARAMETER, paramIndex = 1)
})
@TestClass("Test$Inner")
public String innerClass() {
return "class Test { class Inner {" +
" @TA Inner() {}" +
--- 44,54 ----
}
@TADescriptions({
@TADescription(annotation = "TA", type = METHOD_RETURN, genericLocation = {1, 0}),
@TADescription(annotation = "TB", type = METHOD_RETURN, genericLocation = {1, 0}),
! @TADescription(annotation = "TC", type = METHOD_FORMAL_PARAMETER, paramIndex = 0)
})
@TestClass("Test$Inner")
public String innerClass() {
return "class Test { class Inner {" +
" @TA Inner() {}" +
*** 59,69 ****
@TADescriptions({
@TADescription(annotation = "TA", type = METHOD_RECEIVER),
@TADescription(annotation = "TB", type = METHOD_RETURN, genericLocation = {1, 0}),
@TADescription(annotation = "TC", type = METHOD_RECEIVER),
@TADescription(annotation = "TD", type = METHOD_RETURN, genericLocation = {1, 0}),
! @TADescription(annotation = "TE", type = METHOD_FORMAL_PARAMETER, paramIndex = 1)
})
@TestClass("Test$Inner")
public String innerClass2() {
return "class Test { class Inner {" +
" @TB Inner(@TA Test Test.this) {}" +
--- 59,69 ----
@TADescriptions({
@TADescription(annotation = "TA", type = METHOD_RECEIVER),
@TADescription(annotation = "TB", type = METHOD_RETURN, genericLocation = {1, 0}),
@TADescription(annotation = "TC", type = METHOD_RECEIVER),
@TADescription(annotation = "TD", type = METHOD_RETURN, genericLocation = {1, 0}),
! @TADescription(annotation = "TE", type = METHOD_FORMAL_PARAMETER, paramIndex = 0)
})
@TestClass("Test$Inner")
public String innerClass2() {
return "class Test { class Inner {" +
" @TB Inner(@TA Test Test.this) {}" +
*** 75,85 ****
@TADescription(annotation = "TA", type = METHOD_RECEIVER),
@TADescription(annotation = "TB", type = METHOD_RECEIVER, genericLocation = {1, 0}),
@TADescription(annotation = "TC", type = METHOD_RETURN, genericLocation = {1, 0, 1, 0}),
@TADescription(annotation = "TD", type = METHOD_RECEIVER, genericLocation = {1, 0}),
@TADescription(annotation = "TE", type = METHOD_RETURN, genericLocation = {1, 0, 1, 0}),
! @TADescription(annotation = "TF", type = METHOD_FORMAL_PARAMETER, paramIndex = 1)
})
@TestClass("Outer$Middle$Inner")
public String innerClass3() {
return "class Outer { class Middle { class Inner {" +
" @TC Inner(@TA Outer. @TB Middle Middle.this) {}" +
--- 75,85 ----
@TADescription(annotation = "TA", type = METHOD_RECEIVER),
@TADescription(annotation = "TB", type = METHOD_RECEIVER, genericLocation = {1, 0}),
@TADescription(annotation = "TC", type = METHOD_RETURN, genericLocation = {1, 0, 1, 0}),
@TADescription(annotation = "TD", type = METHOD_RECEIVER, genericLocation = {1, 0}),
@TADescription(annotation = "TE", type = METHOD_RETURN, genericLocation = {1, 0, 1, 0}),
! @TADescription(annotation = "TF", type = METHOD_FORMAL_PARAMETER, paramIndex = 0)
})
@TestClass("Outer$Middle$Inner")
public String innerClass3() {
return "class Outer { class Middle { class Inner {" +
" @TC Inner(@TA Outer. @TB Middle Middle.this) {}" +