Top Description Methods
org.aspectj.lang.annotation

public @Interface Pointcut

extends Annotation
Annotations
@Retention:RUNTIME
@Target:METHOD
Imports
java.lang.annotation.Target, .ElementType, .Retention, .RetentionPolicy

Pointcut declaration
Author
Alexandre Vasseur

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

argNames the argument names (should match those in the annotated method)
argNames
()

When compiling without debug info, or when interpreting pointcuts at runtime, the names of any arguments used in the pointcut are not available.

public String

Returns:

the pointcut expression We allow "" as default for abstract pointcut
value
()

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

argNamesback to summary
public String argNames()

When compiling without debug info, or when interpreting pointcuts at runtime, the names of any arguments used in the pointcut 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.

Returns:String

argNames the argument names (should match those in the annotated method)

valueback to summary
public String value()
Returns:String

the pointcut expression We allow "" as default for abstract pointcut