1 22 package org.jboss.test.aop.regression.jbaop110; 23 24 import org.jboss.test.aop.regression.jbaop110.Type.NormalType; 25 import org.jboss.test.aop.regression.jbaop110.Type.StaticType; 26 27 32 public class POJO 33 { 34 NormalType nt; 35 StaticType st; 36 37 public POJO() 38 { 39 40 } 41 42 public POJO(NormalType ntype, StaticType stype) 43 { 44 45 } 46 47 public NormalType method(StaticType stype, NormalType ntype) 48 { 49 return ntype; 50 } 51 52 public void executeNormal() 53 { 54 NormalClass instance = new NormalClass(Type.type.normalType, Type.type.staticType); 55 56 instance.nnt = Type.type.normalType; 57 NormalType nt = instance.nnt; 58 59 instance.nst = Type.type.staticType; 60 StaticType st = instance.nst; 61 62 instance.method(Type.type.staticType, Type.type.normalType); 63 } 64 65 public void executeStatic() 66 { 67 StaticClass instance = new StaticClass(Type.type.normalType, Type.type.staticType); 68 69 instance.snt = Type.type.normalType; 70 NormalType nt = instance.snt; 71 72 instance.sst = Type.type.staticType; 73 StaticType st = instance.sst; 74 75 instance.method(Type.type.staticType, Type.type.normalType); 76 } 77 78 public class NormalClass 79 { 80 NormalType nnt; 81 StaticType nst; 82 83 public NormalClass(NormalType ntype, StaticType stype) 84 { 85 86 } 87 88 public NormalType method(StaticType stype, NormalType ntype) 89 { 90 return ntype; 91 } 92 } 93 94 private static class StaticClass 95 { 96 Type.NormalType snt; 97 Type.StaticType sst; 98 99 public StaticClass(NormalType ntype, StaticType stype) 100 { 101 102 } 103 104 public NormalType method(StaticType stype, NormalType ntype) 105 { 106 return ntype; 107 } 108 } 109 110 } 111 | Popular Tags |