1 22 package org.jboss.test.aop.reflection; 23 24 27 28 public class ReflectionAopPOJO extends ReflectionAopRootPOJO 29 { 30 private int i; 31 public int j; 32 public int k; 33 34 public ReflectionAopPOJO() 35 { 36 if (1 == 0) 37 System.out.println(i); 38 System.out.println("ReflectionAopPOJO default constructor"); 39 } 40 41 public ReflectionAopPOJO(int j) 42 { 43 System.out.println("ReflectionAopPOJO constructor(int)"); 44 this.j = j; 45 } 46 47 public ReflectionAopPOJO(String s) 48 { 49 System.out.println("ReflectionAopPOJO constructor(string)"); 50 } 51 52 public ReflectionAopPOJO(boolean b) 53 { 54 System.out.println("ReflectionAopPOJO constructor(boolean)"); 55 } 56 57 public ReflectionAopPOJO(long l) 58 { 59 System.out.println("ReflectionAopPOJO constructor(long)"); 60 } 61 62 public void method() 63 { 64 System.out.println("ReflectionAopPOJO method()"); 65 66 } 67 68 public void method(int i) 69 { 70 System.out.println("ReflectionAopPOJO method(int)"); 71 } 72 73 public void method(boolean b) 74 { 75 System.out.println("ReflectionAopPOJO method(boolean) "); 76 } 77 78 public void otherMethod(long l) 79 { 80 System.out.println("otherMethod"); 81 } 82 83 public void method(int i, long l) 85 { 86 System.out.println("ReflectionAopPOJO method(int, long)"); 87 if (1 == 0) 88 privateMethod(); } 90 91 private void privateMethod() 92 { 93 System.out.println("ReflectionAopPOJO privateMethod()"); 94 } 95 96 public class AopPOJOInner 97 { 98 } 99 } 100 | Popular Tags |