001: /*
002: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
003: */
004: package com.tc.aspectwerkz.transform;
005:
006: import com.tc.asm.Opcodes;
007:
008: import java.util.ArrayList;
009: import java.util.List;
010:
011: /**
012: * Interface with common constants used in the transformation process.
013: *
014: * @author <a href="mailto:jboner@codehaus.org">Jonas BonŽr </a>
015: */
016: public interface TransformationConstants extends Opcodes {
017: public static final List EMTPTY_ARRAY_LIST = new ArrayList();
018: public static final String[] EMPTY_STRING_ARRAY = new String[0];
019:
020: // prefixes
021: public static final String DELIMITER = "$_AW_$";
022: public static final String ASPECTWERKZ_PREFIX = "___AW_";
023: public static final String WRAPPER_METHOD_PREFIX = "aw$";
024: public static final String SYNTHETIC_MEMBER_PREFIX = "aw$";
025: public static final String ORIGINAL_METHOD_PREFIX = WRAPPER_METHOD_PREFIX
026: + "original" + DELIMITER;
027: public static final String STATICINITIALIZER_WRAPPER_METHOD_KEY = "aw_clinit";
028: public static final String INVOKE_WRAPPER_METHOD_PREFIX = "INVOKE"
029: + DELIMITER;
030: public static final String PUTFIELD_WRAPPER_METHOD_PREFIX = "PUTFIELD"
031: + DELIMITER;
032: public static final String GETFIELD_WRAPPER_METHOD_PREFIX = "GETFIELD"
033: + DELIMITER;
034: public static final String JOIN_POINT_CLASS_SUFFIX = ASPECTWERKZ_PREFIX
035: + "JoinPoint";
036:
037: // internal fields
038: public static final String SERIAL_VERSION_UID_FIELD_NAME = "serialVersionUID";
039: public static final String TARGET_CLASS_FIELD_NAME = SYNTHETIC_MEMBER_PREFIX
040: + "clazz";
041: public static final String EMITTED_JOINPOINTS_FIELD_NAME = SYNTHETIC_MEMBER_PREFIX
042: + "emittedJoinPoints";
043:
044: // internal methods
045: public static final String INIT_JOIN_POINTS_METHOD_NAME = WRAPPER_METHOD_PREFIX
046: + "initJoinPoints";
047: public static final String STATIC_INITIALIZATION_METHOD_NAME = WRAPPER_METHOD_PREFIX
048: + "staticinitialization";
049:
050: // method and class names
051: public static final String INIT_METHOD_NAME = "<init>";
052: public static final String CLINIT_METHOD_NAME = "<clinit>";
053: public static final String CLINIT_METHOD_SIGNATURE = "()V";
054: public static final String CLASS_LOADER_REFLECT_CLASS_NAME = "java.lang.ClassLoader";
055: public static final String CLASS_LOADER_CLASS_NAME = "java/lang/ClassLoader";
056: public static final String DEFINE_CLASS_METHOD_NAME = "defineClass";
057: public static final String INVOKE_METHOD_NAME = "invoke";
058: public static final String FOR_NAME_METHOD_NAME = "forName";
059: public static final String LOAD_JOIN_POINT_METHOD_NAME = "loadJoinPoint";
060: public static final String MIXINS_CLASS_NAME = "com/tc/aspectwerkz/aspect/management/Mixins";
061: public static final String MIXIN_OF_METHOD_NAME = "mixinOf";
062: public static final String MIXIN_OF_METHOD_PER_JVM_SIGNATURE = "(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Object;";
063: public static final String MIXIN_OF_METHOD_PER_CLASS_SIGNATURE = "(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;";
064: public static final String MIXIN_OF_METHOD_PER_INSTANCE_SIGNATURE = "(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;";
065:
066: // java types and signatures
067: public static final String SHORT_CLASS_NAME = "java/lang/Short";
068: public static final String INTEGER_CLASS_NAME = "java/lang/Integer";
069: public static final String LONG_CLASS_NAME = "java/lang/Long";
070: public static final String FLOAT_CLASS_NAME = "java/lang/Float";
071: public static final String DOUBLE_CLASS_NAME = "java/lang/Double";
072: public static final String BYTE_CLASS_NAME = "java/lang/Byte";
073: public static final String BOOLEAN_CLASS_NAME = "java/lang/Boolean";
074: public static final String CHARACTER_CLASS_NAME = "java/lang/Character";
075: public static final String OBJECT_CLASS_SIGNATURE = "Ljava/lang/Object;";
076: public static final String OBJECT_CLASS_NAME = "java/lang/Object";
077: public static final String CLASS_CLASS_SIGNATURE = "Ljava/lang/Class;";
078: public static final String CLASS_CLASS = "java/lang/Class";
079: public static final String THROWABLE_CLASS_NAME = "java/lang/Throwable";
080: public static final String SHORT_VALUE_METHOD_NAME = "shortValue";
081: public static final String INT_VALUE_METHOD_NAME = "intValue";
082: public static final String LONG_VALUE_METHOD_NAME = "longValue";
083: public static final String FLOAT_VALUE_METHOD_NAME = "floatValue";
084: public static final String DOUBLE_VALUE_METHOD_NAME = "doubleValue";
085: public static final String BYTE_VALUE_METHOD_NAME = "byteValue";
086: public static final String BOOLEAN_VALUE_METHOD_NAME = "booleanValue";
087: public static final String CHAR_VALUE_METHOD_NAME = "charValue";
088: public static final String CHAR_VALUE_METHOD_SIGNATURE = "()C";
089: public static final String BOOLEAN_VALUE_METHOD_SIGNATURE = "()Z";
090: public static final String BYTE_VALUE_METHOD_SIGNATURE = "()B";
091: public static final String DOUBLE_VALUE_METHOD_SIGNATURE = "()D";
092: public static final String FLOAT_VALUE_METHOD_SIGNATURE = "()F";
093: public static final String LONG_VALUE_METHOD_SIGNATURE = "()J";
094: public static final String INT_VALUE_METHOD_SIGNATURE = "()I";
095: public static final String SHORT_VALUE_METHOD_SIGNATURE = "()S";
096: public static final String SHORT_CLASS_INIT_METHOD_SIGNATURE = "(S)V";
097: public static final String INTEGER_CLASS_INIT_METHOD_SIGNATURE = "(I)V";
098: public static final String LONG_CLASS_INIT_METHOD_SIGNATURE = "(J)V";
099: public static final String FLOAT_CLASS_INIT_METHOD_SIGNATURE = "(F)V";
100: public static final String DOUBLE_CLASS_INIT_METHOD_SIGNATURE = "(D)V";
101: public static final String BYTE_CLASS_INIT_METHOD_SIGNATURE = "(B)V";
102: public static final String BOOLEAN_CLASS_INIT_METHOD_SIGNATURE = "(Z)V";
103: public static final String CHARACTER_CLASS_INIT_METHOD_SIGNATURE = "(C)V";
104: public static final String CLASS_CLASS_GETCLASSLOADER_METHOD_SIGNATURE = "()Ljava/lang/ClassLoader;";
105: public static final String ENCLOSING_SJP_FIELD_CLASS_SIGNATURE = "Lcom/tc/aspectwerkz/joinpoint/EnclosingStaticJoinPoint;";
106: public static final String L = "L";
107: public static final String I = "I";
108: public static final String SEMICOLON = ";";
109:
110: public static final byte EMPTY_WRAPPER_ATTRIBUTE_VALUE_EMPTY = Byte.MIN_VALUE;
111: public static final byte EMPTY_WRAPPER_ATTRIBUTE_VALUE_NOTEMPTY = Byte.MAX_VALUE;
112:
113: // optim flags
114: public static final boolean OPTIMIZED_JOIN_POINT = true;
115: public static final boolean NON_OPTIMIZED_JOIN_POINT = false;
116:
117: // static and member field names
118: // public static final String MIXIN_FIELD_NAME = "MIXIN_";
119: public static final String MIXIN_FIELD_NAME = SYNTHETIC_MEMBER_PREFIX
120: + "MIXIN_";
121: public static final String SIGNATURE_FIELD_NAME = "SIGNATURE";
122: public static final String META_DATA_FIELD_NAME = "META_DATA";
123: public static final String ASPECT_FIELD_PREFIX = "ASPECT_";
124: public static final String STACK_FRAME_COUNTER_FIELD_NAME = "STACK_FRAME_COUNTER";
125: public static final String INTERCEPTOR_INDEX_FIELD_NAME = "INTERCEPTOR_INDEX";
126: public static final String CALLEE_INSTANCE_FIELD_NAME = "CALLEE";
127: public static final String CALLER_INSTANCE_FIELD_NAME = "CALLER";
128: public static final String ARGUMENT_FIELD = "ARGUMENT_";
129: public static final String RETURN_VALUE_FIELD_NAME = "RETURN_VALUE";
130: public static final String OPTIMIZED_JOIN_POINT_INSTANCE_FIELD_NAME = "OPTIMIZED_JOIN_POINT";
131: public static final String ENCLOSING_SJP_FIELD_NAME = "ENCLOSINGSJP";
132:
133: public static final String AROUND_INTERCEPTORS_FIELD_NAME = "AROUND_INTERCEPTORS";
134: public static final String NR_OF_AROUND_INTERCEPTORS_FIELD_NAME = "NR_OF_AROUND_INTERCEPTORS";
135: public static final String BEFORE_INTERCEPTORS_FIELD_NAME = "BEFORE_INTERCEPTORS";
136: public static final String NR_OF_BEFORE_INTERCEPTORS_FIELD_NAME = "NR_OF_BEFORE_INTERCEPTORS";
137: public static final String AFTER_INTERCEPTORS_FIELD_NAME = "AFTER_INTERCEPTORS";
138: public static final String NR_OF_AFTER_INTERCEPTORS_FIELD_NAME = "NR_OF_AFTER_INTERCEPTORS";
139: public static final String AFTER_RETURNING_INTERCEPTORS_FIELD_NAME = "AFTER_RETURNING_INTERCEPTORS";
140: public static final String NR_OF_AFTER_RETURNING_INTERCEPTORS_FIELD_NAME = "NR_OF_AFTER_RETURNING_INTERCEPTORS";
141: public static final String AFTER_THROWING_INTERCEPTORS_FIELD_NAME = "AFTER_THROWING_INTERCEPTORS";
142: public static final String NR_OF_AFTER_THROWING_INTERCEPTORS_FIELD_NAME = "NR_OF_AFTER_THROWING_INTERCEPTORS";
143:
144: // runtime system signatures and types
145:
146: public static final String JOIN_POINT_MANAGER_CLASS_NAME = "com/tc/aspectwerkz/joinpoint/management/JoinPointManager";
147: public static final String LOAD_JOIN_POINT_METHOD_SIGNATURE = "(ILjava/lang/Class;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;IILjava/lang/String;)V";
148: public static final String FOR_NAME_METHOD_SIGNATURE = "(Ljava/lang/String;)Ljava/lang/Class;";
149: public static final String METHOD_SIGNATURE_IMPL_CLASS_NAME = "com/tc/aspectwerkz/joinpoint/impl/MethodSignatureImpl";
150: public static final String METHOD_SIGNATURE_IMPL_CLASS_SIGNATURE = "Lcom/tc/aspectwerkz/joinpoint/impl/MethodSignatureImpl;";
151: public static final String CONSTRUCTOR_SIGNATURE_IMPL_CLASS_SIGNATURE = "Lcom/tc/aspectwerkz/joinpoint/impl/ConstructorSignatureImpl;";
152: public static final String FIELD_SIGNATURE_IMPL_CLASS_SIGNATURE = "Lcom/tc/aspectwerkz/joinpoint/impl/FieldSignatureImpl;";
153: public static final String HANDLER_SIGNATURE_IMPL_CLASS_SIGNATURE = "Lcom/tc/aspectwerkz/joinpoint/impl/CatchClauseSignatureImpl;";
154: public static final String NEW_METHOD_SIGNATURE_METHOD_SIGNATURE = "(Ljava/lang/Class;I)Lcom/tc/aspectwerkz/joinpoint/impl/MethodSignatureImpl;";
155: public static final String NEW_CONSTRUCTOR_SIGNATURE_METHOD_SIGNATURE = "(Ljava/lang/Class;I)Lcom/tc/aspectwerkz/joinpoint/impl/ConstructorSignatureImpl;";
156: public static final String NEW_FIELD_SIGNATURE_METHOD_SIGNATURE = "(Ljava/lang/Class;I)Lcom/tc/aspectwerkz/joinpoint/impl/FieldSignatureImpl;";
157: public static final String NEW_HANDLER_SIGNATURE_METHOD_SIGNATURE = "(Ljava/lang/Class;)Lcom/tc/aspectwerkz/joinpoint/impl/CatchClauseSignatureImpl;";
158: public static final String SIGNATURE_FACTORY_CLASS = "com/tc/aspectwerkz/joinpoint/management/SignatureFactory";
159: public static final String GETCLASSLOADER_METHOD_NAME = "getClassLoader";
160: public static final String ASPECT_OF_PER_CLASS_METHOD_SIGNATURE = "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;";
161: public static final String ASPECT_OF_PER_INSTANCE_METHOD_SIGNATURE = "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;";
162: public static final String GET_CFLOW_STACK_METHOD_NAME = "getCflowStack";
163: public static final String GET_CFLOW_STACK_METHOD_SIGNATURE = "(Ljava/lang/Class;)Lcom/tc/aspectwerkz/CflowStack;";
164: public static final String GET_ENCLOSING_SJP_METHOD_NAME = "getEnclosingStaticJoinPoint";
165: public static final String GET_ENCLOSING_SJP_METHOD_SIGNATURE = "()Lcom/tc/aspectwerkz/joinpoint/EnclosingStaticJoinPoint;";
166: public static final String GET_SIGNATURE_METHOD_NAME = "getSignature";
167: public static final String GET_SIGNATURE_METHOD_SIGNATURE = "()Lcom/tc/aspectwerkz/joinpoint/Signature;";
168: public static final String GET_RTTI_METHOD_NAME = "getRtti";
169: public static final String GET_RTTI_METHOD_SIGNATURE = "()Lcom/tc/aspectwerkz/joinpoint/Rtti;";
170: public static final String PROCEED_METHOD_NAME = "proceed";
171: public static final String PROCEED_METHOD_SIGNATURE = "()Ljava/lang/Object;";
172: public static final String COPY_METHOD_NAME = "copy";
173: public static final String COPY_METHOD_SIGNATURE = "()Lcom/tc/aspectwerkz/joinpoint/StaticJoinPoint;";
174: public static final String ADD_META_DATA_METHOD_NAME = "addMetaData";
175: public static final String ADD_META_DATA_METHOD_SIGNATURE = "(Ljava/lang/Object;Ljava/lang/Object;)V";
176: public static final String MAP_CLASS_SIGNATURE = "Ljava/util/Map;";
177: public static final String MAP_CLASS_NAME = "java/util/Map";
178: public static final String PUT_METHOD_NAME = "put";
179: public static final String PUT_METHOD_SIGNATURE = "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;";
180: public static final String GET_META_DATA_METHOD_NAME = "getMetaData";
181: public static final String GET_TARGET_METHOD_NAME = "getTarget";
182: public static final String GET_THIS_METHOD_NAME = "getThis";
183: public static final String GET_CALLER_METHOD_NAME = "getCaller";
184: public static final String GET_CALLEE_METHOD_NAME = "getCallee";
185: public static final String GET_METHOD_NAME = "getDefault";
186: public static final String GET_METHOD_SIGNATURE = "(Ljava/lang/Object;)Ljava/lang/Object;";
187: public static final String GET_META_DATA_METHOD_SIGNATURE = "(Ljava/lang/Object;)Ljava/lang/Object;";
188: public static final String NEW_METHOD_SIGNATURE_METHOD_NAME = "newMethodSignature";
189: public static final String NEW_CONSTRUCTOR_SIGNATURE_METHOD_NAME = "newConstructorSignature";
190: public static final String NEW_FIELD_SIGNATURE_METHOD_NAME = "newFieldSignature";
191: public static final String NEW_CATCH_CLAUSE_SIGNATURE_METHOD_NAME = "newCatchClauseSignature";
192: public static final String NEW_ENCLOSING_SJP_METHOD_NAME = "newEnclosingStaticJoinPoint";
193: public static final String NEW_ENCLOSING_SJP_METHOD_SIGNATURE = "(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lcom/tc/aspectwerkz/joinpoint/EnclosingStaticJoinPoint;";
194: public static final String HASH_MAP_CLASS_NAME = "java/util/HashMap";
195: public static final String NO_PARAM_RETURN_VOID_SIGNATURE = "()V";
196: public static final String NO_PARAM_RETURN_BOOLEAN_SIGNATURE = "()Z";
197: public static final String CLASS_NOT_FOUND_EXCEPTION_CLASS_NAME = "java/lang/ClassNotFoundException";
198: public static final String GET_CALLER_CLASS_METHOD_NAME = "getCallerClass";
199: public static final String GET_CALLER_CLASS_METHOD_SIGNATURE = "()Ljava/lang/Class;";
200: public static final String GET_CALLEE_CLASS_METHOD_NAME = "getCalleeClass";
201: public static final String GET_CALLEE_CLASS_METHOD_SIGNATURE = "()Ljava/lang/Class;";
202: public static final String GET_TARGET_CLASS_METHOD_NAME = "getTargetClass";
203: public static final String GET_TARGET_CLASS_METHOD_SIGNATURE = "()Ljava/lang/Class;";
204: public static final String GET_TYPE_METHOD_NAME = "getType";
205: public static final String GET_TYPE_METHOD_SIGNATURE = "()Lcom/tc/aspectwerkz/joinpoint/management/JoinPointType;";
206: public static final String RESET_METHOD_NAME = "reset";
207: public static final String RUNTIME_EXCEPTION_CLASS_NAME = "java/lang/RuntimeException";
208: public static final String RUNTIME_EXCEPTION_INIT_METHOD_SIGNATURE = "(Ljava/lang/String;)V";
209: public static final String IS_IN_CFLOW_METOD_NAME = "isInCflow";
210: public static final String IS_IN_CFLOW_METOD_SIGNATURE = "()Z";
211: public static final String STATIC_JOIN_POINT_CLASS_NAME = "com/tc/aspectwerkz/joinpoint/StaticJoinPoint";
212: public static final String STATIC_JOIN_POINT_JAVA_CLASS_NAME = "com.tc.aspectwerkz.joinpoint.StaticJoinPoint";
213: public static final String JOIN_POINT_CLASS_NAME = "com/tc/aspectwerkz/joinpoint/JoinPoint";
214: public static final String JOIN_POINT_CLASS_SIGNATURE = "Lcom/tc/aspectwerkz/joinpoint/JoinPoint;";
215: public static final String JOIN_POINT_JAVA_CLASS_NAME = "com.tc.aspectwerkz.joinpoint.JoinPoint";
216: public static final String NO_PARAMS_SIGNATURE = "()";
217:
218: public static final String METHOD_RTTI_IMPL_CLASS_SIGNATURE = "Lcom/tc/aspectwerkz/joinpoint/impl/MethodRttiImpl;";
219: public static final String METHOD_RTTI_IMPL_CLASS_NAME = "com/tc/aspectwerkz/joinpoint/impl/MethodRttiImpl";
220: public static final String METHOD_RTTI_IMPL_INIT_SIGNATURE = "(Lcom/tc/aspectwerkz/joinpoint/impl/MethodSignatureImpl;Ljava/lang/Object;Ljava/lang/Object;)V";
221: public static final String CONSTRUCTOR_RTTI_IMPL_CLASS_SIGNATURE = "Lcom/tc/aspectwerkz/joinpoint/impl/ConstructorRttiImpl;";
222: public static final String CONSTRUCTOR_RTTI_IMPL_CLASS_NAME = "com/tc/aspectwerkz/joinpoint/impl/ConstructorRttiImpl";
223: public static final String CONSTRUCTOR_RTTI_IMPL_INIT_SIGNATURE = "(Lcom/tc/aspectwerkz/joinpoint/impl/ConstructorSignatureImpl;Ljava/lang/Object;Ljava/lang/Object;)V";
224: public static final String FIELD_RTTI_IMPL_CLASS_SIGNATURE = "Lcom/tc/aspectwerkz/joinpoint/impl/FieldRttiImpl;";
225: public static final String FIELD_RTTI_IMPL_CLASS_NAME = "com/tc/aspectwerkz/joinpoint/impl/FieldRttiImpl";
226: public static final String FIELD_RTTI_IMPL_INIT_SIGNATURE = "(Lcom/tc/aspectwerkz/joinpoint/impl/FieldSignatureImpl;Ljava/lang/Object;Ljava/lang/Object;)V";
227: public static final String HANDLER_RTTI_IMPL_CLASS_SIGNATURE = "Lcom/tc/aspectwerkz/joinpoint/impl/CatchClauseRttiImpl;";
228: public static final String HANDLER_RTTI_IMPL_CLASS_NAME = "com/tc/aspectwerkz/joinpoint/impl/CatchClauseRttiImpl";
229: public static final String HANDLER_RTTI_IMPL_INIT_SIGNATURE = "(Lcom/tc/aspectwerkz/joinpoint/impl/CatchClauseSignatureImpl;Ljava/lang/Object;Ljava/lang/Object;)V";
230: public static final String SET_PARAMETER_VALUES_METHOD_NAME = "setParameterValues";
231: public static final String SET_PARAMETER_VALUES_METHOD_SIGNATURE = "([Ljava/lang/Object;)V";
232: public static final String SET_PARAMETER_VALUE_METHOD_NAME = "setParameterValue";
233: public static final String SET_PARAMETER_VALUE_METHOD_SIGNATURE = "(Ljava/lang/Object;)V";
234: public static final String SET_FIELD_VALUE_METHOD_NAME = "setFieldValue";
235: public static final String SET_FIELD_VALUE_METHOD_SIGNATURE = "(Ljava/lang/Object;)V";
236: public static final String SET_RETURN_VALUE_METHOD_NAME = "setReturnValue";
237: public static final String SET_RETURN_VALUE_METHOD_SIGNATURE = "(Ljava/lang/Object;)V";
238: public static final String STATICINITIALIZATION_RTTI_IMPL_CLASS_NAME = "com/tc/aspectwerkz/joinpoint/impl/StaticInitializationRttiImpl";
239: public static final String STATICINITIALIZATION_RTTI_IMPL_INIT_SIGNATURE = "(Lcom/tc/aspectwerkz/joinpoint/impl/StaticInitializerSignatureImpl;)V";
240:
241: public static final String HAS_INSTANCE_LEVEL_ASPECT_INTERFACE_NAME = "com/tc/aspectwerkz/aspect/management/HasInstanceLevelAspect";
242: public static final String INSTANCE_LEVEL_ASPECT_MAP_FIELD_NAME = SYNTHETIC_MEMBER_PREFIX
243: + "instanceLevelAspects";
244: public static final String INSTANCE_LEVEL_ASPECT_MAP_FIELD_SIGNATURE = "Ljava/util/Map;";
245: public static final String INSTANCE_LEVEL_GETASPECT_METHOD_NAME = WRAPPER_METHOD_PREFIX
246: + "getAspect";
247: public static final String INSTANCE_LEVEL_GETASPECT_METHOD_SIGNATURE = "(Ljava/lang/Class;)Ljava/lang/Object;";
248: public static final String INSTANCE_LEVEL_HASASPECT_METHOD_NAME = WRAPPER_METHOD_PREFIX
249: + "hasAspect";
250: public static final String INSTANCE_LEVEL_HASASPECT_METHOD_SIGNATURE = "(Ljava/lang/Class;)Z";
251: public static final String INSTANCE_LEVEL_BINDASPECT_METHOD_NAME = WRAPPER_METHOD_PREFIX
252: + "bindAspect";
253: public static final String INSTANCE_LEVEL_BINDASPECT_METHOD_SIGNATURE = "(Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;";
254:
255: public static final String ADVISABLE_CLASS_JAVA_NAME = "com.tc.aspectwerkz.intercept.Advisable";
256: public static final String ADVISABLE_CLASS_NAME = "com/tc/aspectwerkz/intercept/Advisable";
257: public static final String INTERCEPT_INVOKE_METHOD_NAME = "invoke";
258: public static final String AROUND_ADVICE_INVOKE_METHOD_SIGNATURE = "(Lcom/tc/aspectwerkz/joinpoint/JoinPoint;)Ljava/lang/Object;";
259: public static final String BEFORE_ADVICE_INVOKE_METHOD_SIGNATURE = "(Lcom/tc/aspectwerkz/joinpoint/JoinPoint;)V";
260: public static final String AFTER_ADVICE_INVOKE_METHOD_SIGNATURE = "(Lcom/tc/aspectwerkz/joinpoint/JoinPoint;)V";
261: public static final String AFTER_RETURNING_ADVICE_INVOKE_METHOD_SIGNATURE = "(Lcom/tc/aspectwerkz/joinpoint/JoinPoint;Ljava/lang/Object;)V";
262: public static final String AFTER_THROWING_ADVICE_INVOKE_METHOD_SIGNATURE = "(Lcom/tc/aspectwerkz/joinpoint/JoinPoint;Ljava/lang/Throwable;)V";
263: public static final String AROUND_ADVICE_CLASS_NAME = "com/tc/aspectwerkz/intercept/AroundAdvice";
264: public static final String BEFORE_ADVICE_CLASS_NAME = "com/tc/aspectwerkz/intercept/BeforeAdvice";
265: public static final String AFTER_ADVICE_CLASS_NAME = "com/tc/aspectwerkz/intercept/AfterAdvice";
266: public static final String AFTER_RETURNING_ADVICE_CLASS_NAME = "com/tc/aspectwerkz/intercept/AfterReturningAdvice";
267: public static final String AFTER_THROWING_ADVICE_CLASS_NAME = "com/tc/aspectwerkz/intercept/AfterThrowingAdvice";
268: public static final String AROUND_ADVICE_ARRAY_CLASS_SIGNATURE = "[Lcom/tc/aspectwerkz/intercept/AroundAdvice;";
269: public static final String BEFORE_ADVICE_ARRAY_CLASS_SIGNATURE = "[Lcom/tc/aspectwerkz/intercept/BeforeAdvice;";
270: public static final String AFTER_ADVICE_ARRAY_CLASS_SIGNATURE = "[Lcom/tc/aspectwerkz/intercept/AfterAdvice;";
271: public static final String AFTER_RETURNING_ADVICE_ARRAY_CLASS_SIGNATURE = "[Lcom/tc/aspectwerkz/intercept/AfterReturningAdvice;";
272: public static final String AFTER_THROWING_ADVICE_ARRAY_CLASS_SIGNATURE = "[Lcom/tc/aspectwerkz/intercept/AfterThrowingAdvice;";
273: public static final String GET_AROUND_ADVICE_METHOD_NAME = "aw$getAroundAdvice";
274: public static final String GET_AROUND_ADVICE_METHOD_SIGNATURE = "(I)[Lcom/tc/aspectwerkz/intercept/AroundAdvice;";
275: public static final String GET_BEFORE_ADVICE_METHOD_NAME = "aw$getBeforeAdvice";
276: public static final String GET_BEFORE_ADVICE_METHOD_SIGNATURE = "(I)[Lcom/tc/aspectwerkz/intercept/BeforeAdvice;";
277: public static final String GET_AFTER_ADVICE_METHOD_NAME = "aw$getAfterAdvice";
278: public static final String GET_AFTER_ADVICE_METHOD_SIGNATURE = "(I)[Lcom/tc/aspectwerkz/intercept/AfterAdvice;";
279: public static final String GET_AFTER_RETURNING_ADVICE_METHOD_NAME = "aw$getAfterReturningAdvice";
280: public static final String GET_AFTER_RETURNING_ADVICE_METHOD_SIGNATURE = "(I)[Lcom/tc/aspectwerkz/intercept/AfterReturningAdvice;";
281: public static final String GET_AFTER_THROWING_ADVICE_METHOD_NAME = "aw$getAfterThrowingAdvice";
282: public static final String GET_AFTER_THROWING_ADVICE_METHOD_SIGNATURE = "(I)[Lcom/tc/aspectwerkz/intercept/AfterThrowingAdvice;";
283:
284: public static final int MODIFIER_INVOKEINTERFACE = 0x10000000;
285: public static final int INDEX_NOTAVAILABLE = -1;
286:
287: public static final String STATICINITIALIZATION_SIGNATURE_IMPL_CLASS_NAME = "com/tc/aspectwerkz/joinpoint/impl/StaticInitializerSignatureImpl";
288: public static final String STATICINITIALIZATION_SIGNATURE_IMPL_CLASS_SIGNATURE = "Lcom/tc/aspectwerkz/joinpoint/impl/StaticInitializerSignatureImpl;";
289: public static final String NEW_STATICINITIALIZATION_SIGNATURE_METHOD_SIGNATURE = "(Ljava/lang/Class;)Lcom/tc/aspectwerkz/joinpoint/impl/StaticInitializerSignatureImpl;";
290: public static final String NEW_STATICINITIALIZATION_SIGNATURE_METHOD_NAME = "newStaticInitializationSignature";
291:
292: public static final String TARGET_CLASS_FIELD_NAME_IN_JP = "TARGET_CLASS";
293: public static final String THIS_CLASS_FIELD_NAME_IN_JP = "THIS_CLASS";
294:
295: public static final String FACTORY_CLASS_FIELD_NAME = "FACTORY_CLASS";
296: public static final String FACTORY_CONTAINER_FIELD_NAME = "CONTAINER";
297: public static final String FACTORY_SINGLE_ASPECT_FIELD_NAME = "ASPECT";
298: public static final String FACTORY_ASPECTS_FIELD_NAME = "ASPECTS";
299: public static final String FACTORY_PARAMS_FIELD_NAME = "PARAMS";
300: public static final String FACTORY_ASPECTOF_METHOD_NAME = "aspectOf";
301: public static final String FACTORY_HASASPECT_METHOD_NAME = "hasAspect";
302: public static final String FACTORY_HASASPECT_PEROBJECT_METHOD_SIGNATURE = "(Ljava/lang/Object;)Z";
303: public static final String NO_ASPECT_BOUND_EXCEPTION_CLASS_NAME = "com/tc/aspectwerkz/aspect/management/NoAspectBoundException";
304: public static final String ASPECT_CONTAINER_CLASS_NAME = "com/tc/aspectwerkz/aspect/AspectContainer";
305: public static final String ASPECT_CONTAINER_CLASS_SIGNATURE = "Lcom/tc/aspectwerkz/aspect/AspectContainer;";
306: public static final String ASPECT_CONTAINER_OPTIONAL_INIT_SIGNATURE = "(Ljava/lang/Class;Ljava/lang/ClassLoader;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V";
307: public static final String ASPECT_CONTAINER_ASPECTOF_METHOD_NAME = "aspectOf";
308: public static final String ASPECT_CONTAINER_ASPECTOF_PERJVM_METHOD_SIGNATURE = "()Ljava/lang/Object;";
309:
310: }
|