1 package p2: 2 annotation @A: @Retention(RUNTIME) 3 int value 4 5 package p2: 6 annotation @B: @Retention(CLASS) 7 8 package p2: 9 annotation @C: @Retention(RUNTIME) 10 11 package p2: 12 annotation @D: 13 String value 14 15 package p1: 16 class Foo: @p2.A(value=12) 17 18 package p1: 19 class Foo: 20 field baz: @p2.B 21 22 package p1: 23 class Foo: 24 field baz: 25 type: 26 inner-type 0, 0: @p2.C 27 28