Fork of the Fernflower decompiler
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.
fernflower/testData/results/TypeAnnotations.dec

45 lines
745 B

package pkg;
import java.lang.annotation.ElementType;
import java.lang.annotation.Target;
class TypeAnnotations {
@TypeAnnotations.TA("field type")
private String f1;
@TypeAnnotations.MixA("field and type")
private String f2;
@TypeAnnotations.TA("return type")
int m1() {
return 42;// 18
}
void m2(@TypeAnnotations.TA("parameter") int var1) {
}// 21
@Target({ElementType.FIELD, ElementType.TYPE_USE})
@interface MixA {
String value();
}
@Target({ElementType.TYPE_USE})
@interface TA {
String value();
}
}
class 'pkg/TypeAnnotations' {
method 'm1 ()I' {
0 13
2 13
}
method 'm2 (I)V' {
0 17
}
}
Lines mapping:
18 <-> 14
21 <-> 18