@HelloAnnotation("hello extra")
 public String hello(final @HelloAnnotation("par extra") String par) {
   HelloInterface anonymous =
       new HelloInterface() {
         @Override
         public String hello(String dummy) {
           return "Hello Extra " + par;
         }
       };
   return anonymous.hello(null);
 }
예제 #2
0
 public Object returnNull(Date date) {
   return hello.returnNull();
 }
예제 #3
0
 public String invoke(String s) {
   return "Received: " + hello.hello(s, new Integer(0xC0DE));
 }