1 22 package org.jboss.test.aop.instanceofannotated; 23 24 30 public class POJO extends AnnotatedSuperClass implements AnnotatedInterface 31 { 32 Type typedefField; 33 Type instanceofField; 34 35 public POJO() 36 { 37 38 } 39 40 public POJO(Type typedef, Type instof, int i) 41 { 42 System.out.println("POJO()"); 43 } 44 45 public void annotatedMethod() 46 { 47 System.out.println("annotatedMethod()"); 48 } 49 50 public void otherAnnotatedMethod() 51 { 52 System.out.println("otherAnnotatedMethod()"); 53 } 54 55 public int superClassMethod() 56 { 57 System.out.println("POJO superClassMethod()"); 58 return 2; 59 } 60 61 public Type paramsAndInstanceofReturn(Type typedef, Type instof, int i) 62 { 63 System.out.println("paramsAndInstanceofReturn()"); 64 return new Type(4); 65 } 66 67 public Type paramsAndTypedefReturn(Type typedef, Type instof, int i) 68 { 69 System.out.println("paramsAndTypedReturn()"); 70 return new Type(4); 71 } 72 73 } 74 | Popular Tags |