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()
The declaring aspect
|
AjType<?>[] |
getExceptionTypes()
The declared thrown exceptions by the advice
|
java.lang.reflect.Type[] |
getGenericParameterTypes()
The generic parameter types, @see java.lang.reflect.Method.getGenericParameterTypes
|
AdviceKind |
getKind()
The kind of advice (before, after-returning, after-throwing, etc.)
|
java.lang.String |
getName()
Returns the advice name, or the empty string if the advice is anonymous.
|
AjType<?>[] |
getParameterTypes()
The advice parameters
|
PointcutExpression |
getPointcutExpression()
The pointcut expression associated with the advice declaration.
|
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()
Advice
getDeclaringType
in interface Advice
public java.lang.reflect.Type[] getGenericParameterTypes()
Advice
getGenericParameterTypes
in interface Advice
public AjType<?>[] getParameterTypes()
Advice
getParameterTypes
in interface Advice
public AjType<?>[] getExceptionTypes()
Advice
getExceptionTypes
in interface Advice
public AdviceKind getKind()
Advice
public java.lang.String getName()
Advice
public PointcutExpression getPointcutExpression()
Advice
getPointcutExpression
in interface Advice
public java.lang.String toString()
toString
in class java.lang.Object