Top Fields Constructors Methods
org.aspectj.internal.lang.reflect

public Class AjTypeImpl<T>

extends Object
implements AjType<T>
Class Inheritance
All Implemented Interfaces
org.aspectj.lang.reflect.AjType, java.lang.reflect.AnnotatedElement, java.lang.reflect.Type
Imports
java.lang.annotation.Annotation, java.lang.reflect.Constructor, .Field, .Method, .Modifier, .Type, .TypeVariable, java.util.ArrayList, .Arrays, .EnumSet, .List, .Set, org.aspectj.internal.lang.annotation.ajcDeclareAnnotation, .ajcDeclareEoW, .ajcDeclareParents, .ajcDeclarePrecedence, .ajcDeclareSoft, .ajcITD, .ajcPrivileged, org.aspectj.lang.annotation.After, .AfterReturning, .AfterThrowing, .Around, .Aspect, .Before, .DeclareError, .DeclareWarning, org.aspectj.lang.reflect.Advice, .AdviceKind, .AjType, .AjTypeSystem, .DeclareAnnotation, .DeclareErrorOrWarning, .DeclareParents, .DeclarePrecedence, .DeclareSoft, .InterTypeConstructorDeclaration, .InterTypeFieldDeclaration, .InterTypeMethodDeclaration, .NoSuchAdviceException, .NoSuchPointcutException, .PerClause, .PerClauseKind, .Pointcut

Author
colyer

Field Summary

Modifier and TypeField and Description
private Advice[]
private static final String
private Class<T>
private Advice[]
private InterTypeConstructorDeclaration[]
private InterTypeFieldDeclaration[]
private InterTypeMethodDeclaration[]
private Pointcut[]
private InterTypeConstructorDeclaration[]
private InterTypeFieldDeclaration[]
private InterTypeMethodDeclaration[]
private Pointcut[]

Constructor Summary

AccessConstructor and Description
public
AjTypeImpl(Class<T> fromClass)

Method Summary

Modifier and TypeMethod and Description
private void
private void
private void
private Advice
asAdvice(Method method)

private Pointcut
public boolean
equals(Object
the reference object with which to compare.
obj
)

Overrides java.lang.Object.equals.

Indicates whether some other object is "equal to" this one.
public Advice[]
private Advice[]
getAdvice(Set<AdviceKind> ofAdviceTypes)

public Advice
getAdvice(String
the advice name
name
)

Implements org.aspectj.lang.reflect.AjType.getAdvice.

For an annotation style advice member, this is the name of the annotated method.
public AjType<?>[]
public <A extends Annotation> A
getAnnotation(Class<A>
the Class object corresponding to the annotation type
annotationType
)

Implements java.lang.reflect.AnnotatedElement.getAnnotation.

Returns this element's annotation for the specified type if such an annotation is present, else null.
public Annotation[]
getAnnotations()

Implements java.lang.reflect.AnnotatedElement.getAnnotations.

Returns annotations that are present on this element.
public Constructor<T>
getConstructor(AjType<?>...
the types of the constructor parameters
parameterTypes
)

Implements org.aspectj.lang.reflect.AjType.getConstructor.

public Constructor<T>[]
public DeclareAnnotation[]
public Advice[]
private Advice[]
public Advice
getDeclaredAdvice(String
the advice name
name
)

Implements org.aspectj.lang.reflect.AjType.getDeclaredAdvice.

For an annotation style advice member, this is the name of the annotated method.
public AjType<?>[]
public Annotation[]
getDeclaredAnnotations()

Implements java.lang.reflect.AnnotatedElement.getDeclaredAnnotations.

Returns annotations that are directly present on this element.
public Constructor<T>
getDeclaredConstructor(AjType<?>...
the types of the constructor parameters
parameterTypes
)

Implements org.aspectj.lang.reflect.AjType.getDeclaredConstructor.

public Constructor<T>[]
public Field
public Field[]
public InterTypeConstructorDeclaration
getDeclaredITDConstructor(AjType<?>
the target of the inter-type constructor of interest
target
,
AjType<?>...
the types of the parameter of the inter-type constructor of interest
parameterTypes
)

Implements org.aspectj.lang.reflect.AjType.getDeclaredITDConstructor.

public InterTypeConstructorDeclaration[]
public InterTypeFieldDeclaration
getDeclaredITDField(String
the field name
name
,
AjType<?>
the target type for the inter-type declaration
target
)

Implements org.aspectj.lang.reflect.AjType.getDeclaredITDField.

public InterTypeFieldDeclaration[]
public InterTypeMethodDeclaration
getDeclaredITDMethod(String
the method name
name
,
AjType<?>
the target of the inter-type declaration
target
,
AjType<?>...
the types of the inter-type method declaration
parameterTypes
)

Implements org.aspectj.lang.reflect.AjType.getDeclaredITDMethod.

public InterTypeMethodDeclaration[]
public Method
getDeclaredMethod(String
the method name
name
,
AjType<?>...
the types of the method parameters
parameterTypes
)

Implements org.aspectj.lang.reflect.AjType.getDeclaredMethod.

public Method[]
public Pointcut
public Pointcut[]
public DeclareErrorOrWarning[]
public DeclareParents[]
public DeclarePrecedence[]
public DeclareSoft[]
public AjType<?>
public Constructor<T>
public Method
public AjType<?>
public T[]
public Field
public Field[]
public Type
public AjType<?>[]
public InterTypeConstructorDeclaration
getITDConstructor(AjType<?>
the target of the inter-type constructor of interest
target
,
AjType<?>...
the types of the parameter of the inter-type constructor of interest
parameterTypes
)

Implements org.aspectj.lang.reflect.AjType.getITDConstructor.

public InterTypeConstructorDeclaration[]
public InterTypeFieldDeclaration
getITDField(String
the field name
name
,
AjType<?>
the target type for the inter-type declaration
target
)

Implements org.aspectj.lang.reflect.AjType.getITDField.

public InterTypeFieldDeclaration[]
public InterTypeMethodDeclaration
getITDMethod(String
the method name
name
,
AjType<?>
the target of the inter-type declaration
target
,
AjType<?>...
the types of the inter-type method declaration
parameterTypes
)

Implements org.aspectj.lang.reflect.AjType.getITDMethod.

public InterTypeMethodDeclaration[]
public Class<T>
public Method
getMethod(String
the method name
name
,
AjType<?>...
the types of the method parameters
parameterTypes
)

Implements org.aspectj.lang.reflect.AjType.getMethod.

public Method[]
public int
public String
public Package
public PerClause
public Pointcut
public Pointcut[]
public AjType<? super T>
public TypeVariable<Class<T>>[]
public int
hashCode()

Overrides java.lang.Object.hashCode.

Returns a hash code value for the object.
private void
private void
public boolean
isAnnotationPresent(Class<? extends Annotation>
the Class object corresponding to the annotation type
annotationType
)

Overrides default java.lang.reflect.AnnotatedElement.isAnnotationPresent.

Returns true if an annotation for the specified type is present on this element, else false.
public boolean
public boolean
public boolean
public boolean
isInstance(Object
the object to check for assignment compatibility
o
)

Implements org.aspectj.lang.reflect.AjType.isInstance.

public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
private boolean
private AjType<?>[]
toAjTypeArray(Class<?>[] classes)

private Class<?>[]
toClassArray(AjType<?>[] ajTypes)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
clonefinalizegetClassnotifynotifyAllwaitwaitwait