| 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()
AdvicegetDeclaringType in interface Advicepublic java.lang.reflect.Type[] getGenericParameterTypes()
AdvicegetGenericParameterTypes in interface Advicepublic AjType<?>[] getParameterTypes()
AdvicegetParameterTypes in interface Advicepublic AjType<?>[] getExceptionTypes()
AdvicegetExceptionTypes in interface Advicepublic AdviceKind getKind()
Advicepublic java.lang.String getName()
Advicepublic PointcutExpression getPointcutExpression()
AdvicegetPointcutExpression in interface Advicepublic java.lang.String toString()
toString in class java.lang.Object