renamed all modules
This commit is contained in:
21
testdata/src/main/java/iri/JLCGetDecField2.java
vendored
Normal file
21
testdata/src/main/java/iri/JLCGetDecField2.java
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
package iri;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
public class JLCGetDecField2 extends FormattingHelper {
|
||||
|
||||
public String run() throws Exception {
|
||||
Method m = Class.class.getMethod("getDeclaredField", String.class);
|
||||
Field f = (Field) m.invoke(JLCGetDecField2.class, "bar");
|
||||
return format(f);
|
||||
}
|
||||
|
||||
// this wasn't in the original type
|
||||
int bar;
|
||||
|
||||
public static void main(String[] argv) throws Exception {
|
||||
new JLCGetDecField2().run();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user