Modifier | Constructor and Description |
---|---|
protected |
AdviceImpl(java.lang.reflect.Method method,
java.lang.String pointcut,
AdviceKind type) |
protected |
AdviceImpl(java.lang.reflect.Method method,
java.lang.String pointcut,
AdviceKind type,
java.lang.String extraParamName) |
Modifier and Type | Method and Description |
---|---|
AjType |
getDeclaringType() |
AjType<?>[] |
getExceptionTypes() |
java.lang.reflect.Type[] |
getGenericParameterTypes() |
AdviceKind |
getKind() |
java.lang.String |
getName()
If using the @AspectJ annotations, the advice name is the name of the
annotated advice method.
|
AjType<?>[] |
getParameterTypes() |
PointcutExpression |
getPointcutExpression() |
java.lang.String |
toString() |
protected AdviceImpl(java.lang.reflect.Method method, java.lang.String pointcut, AdviceKind type)
protected AdviceImpl(java.lang.reflect.Method method, java.lang.String pointcut, AdviceKind type, java.lang.String extraParamName)
public AjType getDeclaringType()
getDeclaringType
in interface Advice
public java.lang.reflect.Type[] getGenericParameterTypes()
getGenericParameterTypes
in interface Advice
public AjType<?>[] getParameterTypes()
getParameterTypes
in interface Advice
public AjType<?>[] getExceptionTypes()
getExceptionTypes
in interface Advice
public AdviceKind getKind()
public java.lang.String getName()
Advice
public PointcutExpression getPointcutExpression()
getPointcutExpression
in interface Advice
public java.lang.String toString()
toString
in class java.lang.Object