• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package annotations.tests.classfile.foo:
2annotation @A: @Retention(value=RUNTIME) @java.lang.annotation.Target(value={TYPE_USE})
3
4annotation @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})
8annotation @C: @Retention(value=RUNTIME) @java.lang.annotation.Target(value={TYPE_USE})
9	int fieldA
10	String fieldB
11
12package annotations.tests.classfile.cases:
13class 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