renamed all modules
This commit is contained in:
40
testdata/src/main/java/reflection/invocation/A002.java
vendored
Normal file
40
testdata/src/main/java/reflection/invocation/A002.java
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
package reflection.invocation;
|
||||
|
||||
/**
|
||||
* For invocation testing, we need a class hierarchy fo some complexity to see if dispatching works right.
|
||||
*
|
||||
* Will be using a 3 deep hierarchy C extends B extends A.
|
||||
*
|
||||
* Further we will be adding methods with different modifiers
|
||||
*
|
||||
* @author kdvolder
|
||||
*/
|
||||
public class A002 {
|
||||
|
||||
public String pubEarly() {
|
||||
return "A002.pubEarly()";
|
||||
}
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private String privEarly() {
|
||||
return "A002.privEarly()";
|
||||
}
|
||||
|
||||
static String staticEarly() {
|
||||
return "A002.staticEarly()";
|
||||
}
|
||||
|
||||
public String pubLate() {
|
||||
return "A002.pubLate()";
|
||||
}
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private String privLate() {
|
||||
return "A002.privLate()";
|
||||
}
|
||||
|
||||
static String staticLate() {
|
||||
return "A002.staticLate()";
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user