Top Description Inners Methods
org.aspectj.lang.reflect

public Interface DeclareAnnotation

Known Direct Implementers
org.aspectj.internal.lang.reflect.DeclareAnnotationImpl
Imports
java.lang.annotation.Annotation

The AspectJ runtime representation of a declare annotation member in an aspect.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Method Summary

Modifier and TypeMethod and Description
public Annotation

Returns:

the declared annotation. If the declared annotation does not have runtime retention, this method returns null.
getAnnotation
()

public String

Returns:

the text of the annotation as declared in this member. Available for both runtime and class-file retention annotations
getAnnotationAsText
()

public AjType<?>

Returns:

the aspect that declared this member.
getDeclaringType
()

public DeclareAnnotation.Kind

Returns:

the target element kind
getKind
()

public SignaturePattern

Returns:

the target signature pattern. Returns null if getKind() == Type
getSignaturePattern
()

public TypePattern

Returns:

the target type pattern. Returns null if getKind() != Type
getTypePattern
()

Method Detail

getAnnotationback to summary
public Annotation getAnnotation()
Returns:Annotation

the declared annotation. If the declared annotation does not have runtime retention, this method returns null.

getAnnotationAsTextback to summary
public String getAnnotationAsText()
Returns:String

the text of the annotation as declared in this member. Available for both runtime and class-file retention annotations

getDeclaringTypeback to summary
public AjType<?> getDeclaringType()
Returns:AjType<?>

the aspect that declared this member.

getKindback to summary
public DeclareAnnotation.Kind getKind()
Returns:DeclareAnnotation.Kind

the target element kind

getSignaturePatternback to summary
public SignaturePattern getSignaturePattern()
Returns:SignaturePattern

the target signature pattern. Returns null if getKind() == Type

getTypePatternback to summary
public TypePattern getTypePattern()
Returns:TypePattern

the target type pattern. Returns null if getKind() != Type

org.aspectj.lang.reflect back to summary

public final Enum DeclareAnnotation.Kind

extends Enum<DeclareAnnotation.Kind>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final DeclareAnnotation.Kind
public static final DeclareAnnotation.Kind
public static final DeclareAnnotation.Kind
public static final DeclareAnnotation.Kind

Constructor Summary

AccessConstructor and Description
private
Kind()

Method Summary

Modifier and TypeMethod and Description
public static DeclareAnnotation.Kind
public static DeclareAnnotation.Kind[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

Constructorback to summary
public static final DeclareAnnotation.Kind Constructor
Fieldback to summary
public static final DeclareAnnotation.Kind Field
Methodback to summary
public static final DeclareAnnotation.Kind Method
Typeback to summary
public static final DeclareAnnotation.Kind Type

Constructor Detail

Kindback to summary
private Kind()

Method Detail

valueOfback to summary
public static DeclareAnnotation.Kind valueOf(String name)
valuesback to summary
public static DeclareAnnotation.Kind[] values()