Files
spring-loaded/testdata/src/main/java/iri/JLCGetDecAnnotations.java
2014-01-15 11:36:24 -08:00

24 lines
519 B
Java

package iri;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
@Deprecated
public class JLCGetDecAnnotations extends FormattingHelper {
public JLCGetDecAnnotations() {
}
public String run() throws Exception {
Method m = Class.class.getMethod("getDeclaredAnnotations");
Annotation[] o = (Annotation[]) m.invoke(JLCGetDecAnnotations.class);
return format(o);
}
public static void main(String[] argv) throws Exception {
System.out.println(new JLCGetDecAnnotations().run());
}
}