1 13 14 15 package org.aspectj.lang; 16 17 import org.aspectj.lang.reflect.SourceLocation; 18 19 36 public interface JoinPoint { 37 38 String toString(); 39 40 43 String toShortString(); 44 45 48 String toLongString(); 49 50 60 Object getThis(); 61 62 72 Object getTarget(); 73 74 77 Object [] getArgs(); 78 79 83 Signature getSignature(); 84 85 93 SourceLocation getSourceLocation(); 94 95 100 String getKind(); 101 102 103 128 public interface StaticPart { 129 130 Signature getSignature(); 131 132 138 SourceLocation getSourceLocation(); 139 140 143 String getKind(); 144 145 String toString(); 146 147 150 String toShortString(); 151 152 155 String toLongString(); 156 } 157 158 public interface EnclosingStaticPart extends StaticPart {} 159 160 163 StaticPart getStaticPart(); 164 165 166 169 static String METHOD_EXECUTION = "method-execution"; 170 static String METHOD_CALL = "method-call"; 171 static String CONSTRUCTOR_EXECUTION = "constructor-execution"; 172 static String CONSTRUCTOR_CALL = "constructor-call"; 173 static String FIELD_GET = "field-get"; 174 static String FIELD_SET = "field-set"; 175 static String STATICINITIALIZATION = "staticinitialization"; 176 static String PREINITIALIZATION = "preinitialization"; 177 static String INITIALIZATION = "initialization"; 178 static String EXCEPTION_HANDLER = "exception-handler"; 179 static String SYNCHRONIZATION_LOCK = "lock"; 180 static String SYNCHRONIZATION_UNLOCK = "unlock"; 181 182 static String ADVICE_EXECUTION = "adviceexecution"; 183 184 } 185 | Popular Tags |