Class AdviceImpl
java.lang.Object
org.aspectj.internal.lang.reflect.AdviceImpl
- All Implemented Interfaces:
Advice
- Author:
- colyer
-
Constructor Summary
ModifierConstructorDescriptionprotected
AdviceImpl
(Method method, String pointcut, AdviceKind type) protected
AdviceImpl
(Method method, String pointcut, AdviceKind type, String extraParamName) -
Method Summary
-
Constructor Details
-
AdviceImpl
-
AdviceImpl
-
-
Method Details
-
getDeclaringType
- Specified by:
getDeclaringType
in interfaceAdvice
- Returns:
- the declaring aspect
-
getGenericParameterTypes
- Specified by:
getGenericParameterTypes
in interfaceAdvice
- Returns:
- the generic parameter types, @see java.lang.reflect.Method.getGenericParameterTypes
-
getParameterTypes
- Specified by:
getParameterTypes
in interfaceAdvice
- Returns:
- the advice parameters
-
getExceptionTypes
- Specified by:
getExceptionTypes
in interfaceAdvice
- Returns:
- the declared thrown exceptions by the advice
-
getKind
-
getName
Description copied from interface:Advice
If using the @AspectJ annotations, the advice name is the name of the annotated advice method. If using the code style, the advice is anonymous, unless the advice is annotated with the @AdviceName annotation, in which case the name given in the annotation is returned. -
getPointcutExpression
- Specified by:
getPointcutExpression
in interfaceAdvice
- Returns:
- the pointcut expression associated with the advice declaration.
-
toString
-