blob: 0184d41eb09a91d41420544ef2a71b3eadaab9cd [file] [log] [blame]
package test4;
public class AnnoArg {
public static @interface AnnoArgAt {
Class<? extends AnnoArg.A> value();
}
public static class A {
int baz() { return 1; }
}
public static class B extends A {
int baz() { return 2; }
}
@AnnoArgAt(B.class)
public int foo(int i) { return i; }
}