renamed all modules
This commit is contained in:
20
testdata/src/main/java/reflection/constructors/ClassForNewInstance004.java
vendored
Normal file
20
testdata/src/main/java/reflection/constructors/ClassForNewInstance004.java
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
package reflection.constructors;
|
||||
|
||||
/**
|
||||
* This version (004) is only used for testing "Class.newInstance". Testing case where there is
|
||||
* no default constructor
|
||||
*/
|
||||
public class ClassForNewInstance004 {
|
||||
|
||||
public ClassForNewInstance004(String noDefaultConstructor) {
|
||||
System.out.println("004 blah");
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
// The value of toString is used by the test to check expected result... so
|
||||
return "004";
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user