1 package annotations.tests.classfile.foo: 2 annotation @A: @Retention(value=RUNTIME) @java.lang.annotation.Target(value={TYPE_USE}) 3 4 annotation @B: @Retention(value=RUNTIME) @java.lang.annotation.Target(value={TYPE_USE}) 5 String value 6 7 // annotation @C: @Retention(value=CLASS) @java.lang.annotation.Target(value={TYPE_USE}) 8 annotation @C: @Retention(value=RUNTIME) @java.lang.annotation.Target(value={TYPE_USE}) 9 int fieldA 10 String fieldB 11 12 package annotations.tests.classfile.cases: 13 class TestLocalVariable: @annotations.tests.classfile.foo.A 14 field i: 15 16 field s: 17 18 method <init>()V: 19 local 1 # 6 + 6 : @annotations.tests.classfile.foo.C(fieldA=166, fieldB="good") 20 21 method <init>(I)V: 22 local 1 # 0 + 10 : @annotations.tests.classfile.foo.A 23 24 method <init>(Ljava/lang/Integer;)V: 25 26 method i()I: 27 28 method j()I : 29 return : @annotations.tests.classfile.foo.A 30 local 1 # 2 + 5 : @annotations.tests.classfile.foo.B(value="hello") 31 32 method someMethod()V: 33 34 method main([Ljava/lang/String;)V: 35 36 37