renamed all modules
This commit is contained in:
29
testdata/src/main/java/iri/JLCGetConstructors.java
vendored
Normal file
29
testdata/src/main/java/iri/JLCGetConstructors.java
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
package iri;
|
||||
|
||||
import java.lang.reflect.Constructor;
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
public class JLCGetConstructors extends FormattingHelper {
|
||||
|
||||
public JLCGetConstructors() {
|
||||
|
||||
}
|
||||
|
||||
@SuppressWarnings("rawtypes")
|
||||
public String run() throws Exception {
|
||||
Method m = Class.class.getMethod("getConstructors");
|
||||
Constructor[] o = (Constructor[]) m.invoke(JLCGetConstructors.class);
|
||||
// Method m2 = (Method) m.invoke(JLCGetDecMethod.class, "foo", new Class[] { String.class, Integer.TYPE });
|
||||
return format(o);
|
||||
}
|
||||
|
||||
public void foo() {
|
||||
|
||||
// public void foo(String s, int i) {
|
||||
}
|
||||
|
||||
public static void main(String[] argv) throws Exception {
|
||||
System.out.println(new JLCGetConstructors().run());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user