Package org.aspectj.lang.annotation
Annotationsschnittstelle AfterReturning
After returning advice
- Autor:
- Alexandre Vasseur
-
Optionale Elemente - Übersicht
-
Elementdetails
-
value
String value- Gibt zurück:
- the pointcut expression where to bind the advice
- Standard:
""
-
pointcut
String pointcut- Gibt zurück:
- the pointcut expression where to bind the advice, overrides "value" when specified
- Standard:
""
-
returning
String returning- Gibt zurück:
- the name of the argument in the advice signature to bind the returned value to
- Standard:
""
-
argNames
String argNamesWhen compiling without debug info, or when interpreting pointcuts at runtime, the names of any arguments used in the advice declaration are not available. Under these circumstances only, it is necessary to provide the arg names in the annotation - these MUST duplicate the names used in the annotated method. Format is a simple comma-separated list.- Gibt zurück:
- the argument names (that should match names used in the annotated method)
- Standard:
""
-