org.aspectj.lang.annotation
Interface Before
Before advice
String | argNames() - When compiling without debug info, or when interpreting pointcuts at runtime,
the names of any arguments used in the advice declaration are not available.
|
String | value() - The pointcut expression where to bind the advice
|
argNames
public String argNames()
throws ""
When 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.
value
public String value()
The pointcut expression where to bind the advice