Top Description Methods
org.aspectj.lang.annotation

public @Interface AdviceName

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

Used to annotated code-style advice to name it Name is used by reflection api if present, may in future be used in adviceexecution() pcd. It is an error to use the @AdviceName annotation on an annotation-style advice declaration.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the name of the advice
value
()

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public String value()
Returns:String

the name of the advice