renamed all modules
This commit is contained in:
25
testdata/src/main/java/iri/JLRMGetDecAnnotations.java
vendored
Normal file
25
testdata/src/main/java/iri/JLRMGetDecAnnotations.java
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
package iri;
|
||||
|
||||
import java.lang.annotation.Annotation;
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
import reflection.AnnoT;
|
||||
|
||||
public class JLRMGetDecAnnotations extends FormattingHelper {
|
||||
|
||||
@AnnoT
|
||||
public void string() {
|
||||
}
|
||||
|
||||
public String run() throws Exception {
|
||||
Method m = Method.class.getMethod("getDeclaredAnnotations");
|
||||
Method mm = JLRMGetDecAnnotations.class.getDeclaredMethod("string");
|
||||
Annotation[] o = (Annotation[]) m.invoke(mm);
|
||||
return format(o);
|
||||
}
|
||||
|
||||
public static void main(String[] argv) throws Exception {
|
||||
System.out.println(new JLRMGetDecAnnotations().run());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user