org.aspectj.lang.reflect
public interface Advice
Modifier and Type | Method and Description |
---|---|
AjType |
getDeclaringType()
The declaring aspect
|
AjType<?>[] |
getExceptionTypes()
The declared thrown exceptions by the advice
|
Type[] |
getGenericParameterTypes()
The generic parameter types, @see java.lang.reflect.Method.getGenericParameterTypes
|
AdviceKind |
getKind()
The kind of advice (before, after-returning, after-throwing, etc.)
|
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.
|
AjType getDeclaringType()
AdviceKind getKind()
String getName()
AjType<?>[] getParameterTypes()
Type[] getGenericParameterTypes()
AjType<?>[] getExceptionTypes()
PointcutExpression getPointcutExpression()