blob: f70f2d67400b12132263c534ae143a1686fa52a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
import java.io.Serializable;
@InjectName
@MarkMyMethods
public class Main {
public String name;
public Main() {
name = "jack";
}
public String testMethod() {
return "Test";
}
protected String testMethodProtected() {
return "Blah!";
}
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Main m = new Main();
Class[] cls = Main.class.getInterfaces();
for(Class cl:cls) {
System.out.println("Interface : " + cl.getCanonicalName());
}
}
}
|