mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-14 14:11:27 +02:00
11 lines
298 B
Java
11 lines
298 B
Java
import java.lang.annotation.*;
|
|
|
|
public class Target {
|
|
public static void main(String []argv) throws Exception {
|
|
Annotation[] annos = Target.class.getDeclaredMethod("main",String[].class).getAnnotations();
|
|
for (int i=0;i<annos.length;i++) {
|
|
System.out.println(annos[i]);
|
|
}
|
|
}
|
|
}
|