You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
527 B
39 lines
527 B
package records;
|
|
|
|
public record TestRecordAnno(@RC @TA int x, int y) {
|
|
public TestRecordAnno(@TA int x, @P int y) {
|
|
this.x = x;
|
|
this.y = y;
|
|
}
|
|
|
|
@TA
|
|
public int x() {
|
|
return this.x;
|
|
}
|
|
|
|
@M
|
|
public int y() {
|
|
return this.y;// 5
|
|
}
|
|
}
|
|
|
|
class 'records/TestRecordAnno' {
|
|
method '<init> (II)V' {
|
|
6 4
|
|
b 5
|
|
e 6
|
|
}
|
|
|
|
method 'x ()I' {
|
|
1 10
|
|
4 10
|
|
}
|
|
|
|
method 'y ()I' {
|
|
1 15
|
|
4 15
|
|
}
|
|
}
|
|
|
|
Lines mapping:
|
|
5 <-> 16
|
|
|