| java.lang.Object org.codehaus.aspectwerkz.aspect.AdviceInfo
Constructor Summary | |
public | AdviceInfo(String aspectQualifiedName, String aspectClassName, DeploymentModel aspectDeploymentModel, String methodName, String methodSignature, Type[] methodParameterTypes, AdviceType type, String specialArgumentType, String adviceName, boolean targetWithRuntimeCheck, ExpressionInfo expressionInfo, ExpressionContext expressionContext, AdviceDefinition adviceDef) TODO refactor - many member fields holds data that is in either the adviceDef (which is in the class) or the aspectDef (which is accessible from the adviceDef)
Creates a new advice info. |
CUSTOM_JOIN_POINT_ARG | final public static int CUSTOM_JOIN_POINT_ARG(Code) | | |
EMPTY_ADVICE_INFO_ARRAY | final public static AdviceInfo[] EMPTY_ADVICE_INFO_ARRAY(Code) | | |
JOINPOINT_ARG | final public static int JOINPOINT_ARG(Code) | | |
SPECIAL_ARGUMENT | final public static int SPECIAL_ARGUMENT(Code) | | |
STATIC_JOINPOINT_ARG | final public static int STATIC_JOINPOINT_ARG(Code) | | |
TARGET_ARG | final public static int TARGET_ARG(Code) | | |
THIS_ARG | final public static int THIS_ARG(Code) | | |
VALID_NON_AW_AROUND_CLOSURE_TYPE | final public static int VALID_NON_AW_AROUND_CLOSURE_TYPE(Code) | | |
AdviceInfo | public AdviceInfo(String aspectQualifiedName, String aspectClassName, DeploymentModel aspectDeploymentModel, String methodName, String methodSignature, Type[] methodParameterTypes, AdviceType type, String specialArgumentType, String adviceName, boolean targetWithRuntimeCheck, ExpressionInfo expressionInfo, ExpressionContext expressionContext, AdviceDefinition adviceDef)(Code) | | TODO refactor - many member fields holds data that is in either the adviceDef (which is in the class) or the aspectDef (which is accessible from the adviceDef)
Creates a new advice info.
Parameters: aspectQualifiedName - Parameters: aspectClassName - Parameters: aspectDeploymentModel - Parameters: methodName - Parameters: methodSignature - Parameters: methodParameterTypes - Parameters: type - the advice type Parameters: specialArgumentType - the special arg type Parameters: adviceName - full qualified advice method name (aspectFQN/advice(call sig)) Parameters: targetWithRuntimeCheck - true if a runtime check is needed based on target instance Parameters: expressionInfo - Parameters: expressionContext - Parameters: adviceDef - |
getAspectClassName | public String getAspectClassName()(Code) | | Returns the aspect FQN className.
the aspect class name |
getAspectDeploymentModel | public DeploymentModel getAspectDeploymentModel()(Code) | | Returns the aspect deployment model
|
getAspectQualifiedName | public String getAspectQualifiedName()(Code) | | Returns the aspect qualified name.
the aspect qualified name |
getMethodName | public String getMethodName()(Code) | | Return the method name.
the method name |
getMethodParameterTypes | public Type[] getMethodParameterTypes()(Code) | | Return the method name.
the method name |
getMethodSignature | public String getMethodSignature()(Code) | | Return the method signature.
the method signature |
getMethodToArgIndexes | public int[] getMethodToArgIndexes()(Code) | | Returns the advice method to target method arg index mapping.
the indexes |
getName | public String getName()(Code) | | Returns the name of the advice.
|
getSpecialArgumentTypeDesc | public String getSpecialArgumentTypeDesc()(Code) | | Returns the special argument type desc.
|
getSpecialArgumentTypeName | public String getSpecialArgumentTypeName()(Code) | | Returns the special argument type name.
|
hasTargetWithRuntimeCheck | public boolean hasTargetWithRuntimeCheck()(Code) | | Checks if the target has a runtime check.
|
setMethodToArgIndexes | public void setMethodToArgIndexes(int[] map)(Code) | | Sets the advice method to target method arg mapping A value of -1 means "not mapped"
Parameters: map - |
|
|