renamed all modules
This commit is contained in:
25
testdata/src/main/java/iri/JLCNewInstance.java
vendored
Normal file
25
testdata/src/main/java/iri/JLCNewInstance.java
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
package iri;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
public class JLCNewInstance extends FormattingHelper {
|
||||
|
||||
public JLCNewInstance() {
|
||||
|
||||
}
|
||||
|
||||
public String run() throws Exception {
|
||||
Method m = Class.class.getMethod("newInstance");
|
||||
Object o = m.invoke(JLCNewInstance.class);
|
||||
return o.toString();
|
||||
}
|
||||
|
||||
public static void main(String[] argv) throws Exception {
|
||||
System.out.println(new JLCNewInstance().run());
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "I am an instance";
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user