• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package test3;
2 
3 interface MethodRedirectIntf {
afo()4     int afo();
5 }
6 
7 public class MethodRedirect implements MethodRedirectIntf {
8     @SuppressWarnings("unused")
foo()9     private int foo() { return 0; }
poi()10     public static int poi() { return 1; }
bar()11     public int bar() { return 2; }
afo()12     public int afo() { return 3; }
13 
test()14     public int test() {
15         return bar();
16     }
17 
main(String[] args)18     public static void main(String[] args) {
19         System.out.println(new MethodRedirect().test());
20     }
21 }
22