Files
openide/plugins/java-decompiler/engine/testData/results/TestMemberAnnotations.dec
LexManos 8407b652c7 [java-decompiler] Patch 0005 from ForgeFlower. Convert Exprent.bytecode to a BitMap.
GitOrigin-RevId: 41773788603b20705312f4d6d0a160bfdb1cfc1d
2024-10-10 09:55:48 +00:00

40 lines
752 B
Plaintext

package pkg;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
class TestMemberAnnotations {
@TestMemberAnnotations.A("const")
public static final int CONST = 42;
@TestMemberAnnotations.A("field")
private int f;
@TestMemberAnnotations.A("return")
private int f(@TestMemberAnnotations.A("arg") int var1) {
return var1 + this.f + 42;// 12
}
@Retention(RetentionPolicy.RUNTIME)
@interface A {
String value() default "";
}
}
class 'pkg/TestMemberAnnotations' {
method 'f (I)I' {
0 13
1 13
2 13
3 13
4 13
5 13
6 13
7 13
8 13
9 13
}
}
Lines mapping:
12 <-> 14