public interface AjType<T>
extends java.lang.reflect.Type, java.lang.reflect.AnnotatedElement
| Modifier and Type | Method and Description |
|---|---|
Advice[] |
getAdvice(AdviceKind... ofTypes) |
Advice |
getAdvice(java.lang.String name)
For an annotation style advice member,
this is the name of the annotated method.
|
AjType<?>[] |
getAjTypes() |
java.lang.reflect.Constructor |
getConstructor(AjType<?>... parameterTypes) |
java.lang.reflect.Constructor[] |
getConstructors() |
DeclareAnnotation[] |
getDeclareAnnotations() |
Advice[] |
getDeclaredAdvice(AdviceKind... ofTypes) |
Advice |
getDeclaredAdvice(java.lang.String name)
For an annotation style advice member,
this is the name of the annotated method.
|
AjType<?>[] |
getDeclaredAjTypes() |
java.lang.reflect.Constructor |
getDeclaredConstructor(AjType<?>... parameterTypes) |
java.lang.reflect.Constructor[] |
getDeclaredConstructors() |
java.lang.reflect.Field |
getDeclaredField(java.lang.String name) |
java.lang.reflect.Field[] |
getDeclaredFields() |
InterTypeConstructorDeclaration |
getDeclaredITDConstructor(AjType<?> target,
AjType<?>... parameterTypes) |
InterTypeConstructorDeclaration[] |
getDeclaredITDConstructors() |
InterTypeFieldDeclaration |
getDeclaredITDField(java.lang.String name,
AjType<?> target) |
InterTypeFieldDeclaration[] |
getDeclaredITDFields() |
InterTypeMethodDeclaration |
getDeclaredITDMethod(java.lang.String name,
AjType<?> target,
AjType<?>... parameterTypes) |
InterTypeMethodDeclaration[] |
getDeclaredITDMethods() |
java.lang.reflect.Method |
getDeclaredMethod(java.lang.String name,
AjType<?>... parameterTypes) |
java.lang.reflect.Method[] |
getDeclaredMethods() |
Pointcut |
getDeclaredPointcut(java.lang.String name) |
Pointcut[] |
getDeclaredPointcuts() |
DeclareErrorOrWarning[] |
getDeclareErrorOrWarnings() |
DeclareParents[] |
getDeclareParents() |
DeclarePrecedence[] |
getDeclarePrecedence() |
DeclareSoft[] |
getDeclareSofts() |
AjType<?> |
getDeclaringType() |
java.lang.reflect.Constructor |
getEnclosingConstructor() |
java.lang.reflect.Method |
getEnclosingMethod() |
AjType<?> |
getEnclosingType() |
T[] |
getEnumConstants() |
java.lang.reflect.Field |
getField(java.lang.String name) |
java.lang.reflect.Field[] |
getFields() |
java.lang.reflect.Type |
getGenericSupertype() |
AjType<?>[] |
getInterfaces() |
InterTypeConstructorDeclaration |
getITDConstructor(AjType<?> target,
AjType<?>... parameterTypes) |
InterTypeConstructorDeclaration[] |
getITDConstructors() |
InterTypeFieldDeclaration |
getITDField(java.lang.String name,
AjType<?> target) |
InterTypeFieldDeclaration[] |
getITDFields() |
InterTypeMethodDeclaration |
getITDMethod(java.lang.String name,
AjType<?> target,
AjType<?>... parameterTypes) |
InterTypeMethodDeclaration[] |
getITDMethods() |
java.lang.Class<T> |
getJavaClass() |
java.lang.reflect.Method |
getMethod(java.lang.String name,
AjType<?>... parameterTypes) |
java.lang.reflect.Method[] |
getMethods() |
int |
getModifiers() |
java.lang.String |
getName() |
java.lang.Package |
getPackage() |
PerClause |
getPerClause() |
Pointcut |
getPointcut(java.lang.String name) |
Pointcut[] |
getPointcuts() |
AjType<?> |
getSupertype() |
java.lang.reflect.TypeVariable<java.lang.Class<T>>[] |
getTypeParameters() |
boolean |
isArray() |
boolean |
isAspect() |
boolean |
isEnum() |
boolean |
isInstance(java.lang.Object o) |
boolean |
isInterface() |
boolean |
isLocalClass() |
boolean |
isMemberAspect() |
boolean |
isMemberClass() |
boolean |
isPrimitive() |
boolean |
isPrivileged() |
java.lang.String getName()
java.lang.Package getPackage()
AjType<?>[] getInterfaces()
int getModifiers()
java.lang.Class<T> getJavaClass()
AjType<?> getSupertype()
java.lang.reflect.Type getGenericSupertype()
java.lang.reflect.Method getEnclosingMethod()
java.lang.reflect.Constructor getEnclosingConstructor()
AjType<?> getEnclosingType()
AjType<?> getDeclaringType()
PerClause getPerClause()
AjType<?>[] getAjTypes()
AjType<?>[] getDeclaredAjTypes()
java.lang.reflect.Constructor getConstructor(AjType<?>... parameterTypes) throws java.lang.NoSuchMethodException
parameterTypes - the types of the constructor parametersjava.lang.NoSuchMethodException - if constructor not foundjava.lang.reflect.Constructor[] getConstructors()
java.lang.reflect.Constructor getDeclaredConstructor(AjType<?>... parameterTypes) throws java.lang.NoSuchMethodException
parameterTypes - the types of the constructor parametersjava.lang.NoSuchMethodException - if constructor not foundjava.lang.reflect.Constructor[] getDeclaredConstructors()
java.lang.reflect.Field getDeclaredField(java.lang.String name)
throws java.lang.NoSuchFieldException
name - the field namejava.lang.NoSuchFieldException - if no field of that name is foundjava.lang.reflect.Field[] getDeclaredFields()
java.lang.reflect.Field getField(java.lang.String name)
throws java.lang.NoSuchFieldException
name - the field namejava.lang.NoSuchFieldException - if field not foundjava.lang.reflect.Field[] getFields()
java.lang.reflect.Method getDeclaredMethod(java.lang.String name,
AjType<?>... parameterTypes)
throws java.lang.NoSuchMethodException
name - the method nameparameterTypes - the types of the method parametersjava.lang.NoSuchMethodException - if the method cannot be foundjava.lang.reflect.Method getMethod(java.lang.String name,
AjType<?>... parameterTypes)
throws java.lang.NoSuchMethodException
name - the method nameparameterTypes - the types of the method parametersjava.lang.NoSuchMethodException - if the method cannot be foundjava.lang.reflect.Method[] getDeclaredMethods()
java.lang.reflect.Method[] getMethods()
Pointcut getDeclaredPointcut(java.lang.String name) throws NoSuchPointcutException
name - the pointcut nameNoSuchPointcutException - if no pointcut of that name can be foundPointcut getPointcut(java.lang.String name) throws NoSuchPointcutException
name - the pointcut nameNoSuchPointcutException - if no pointcut of that name can be foundPointcut[] getDeclaredPointcuts()
Pointcut[] getPointcuts()
Advice[] getDeclaredAdvice(AdviceKind... ofTypes)
ofTypes - the AdviceKinds of interestAdvice[] getAdvice(AdviceKind... ofTypes)
ofTypes - the AdviceKinds of interestAdvice getAdvice(java.lang.String name) throws NoSuchAdviceException
name - the advice nameNoSuchAdviceException - if no advice can be found with that nameAdvice getDeclaredAdvice(java.lang.String name) throws NoSuchAdviceException
name - the advice nameNoSuchAdviceException - if no advice can be found with that nameInterTypeMethodDeclaration getDeclaredITDMethod(java.lang.String name, AjType<?> target, AjType<?>... parameterTypes) throws java.lang.NoSuchMethodException
name - the method nametarget - the target of the inter-type declarationparameterTypes - the types of the inter-type method declarationjava.lang.NoSuchMethodException - if the inter-type declaration cannot be foundInterTypeMethodDeclaration[] getDeclaredITDMethods()
InterTypeMethodDeclaration getITDMethod(java.lang.String name, AjType<?> target, AjType<?>... parameterTypes) throws java.lang.NoSuchMethodException
name - the method nametarget - the target of the inter-type declarationparameterTypes - the types of the inter-type method declarationjava.lang.NoSuchMethodException - if the inter-type declaration cannot be foundInterTypeMethodDeclaration[] getITDMethods()
InterTypeConstructorDeclaration getDeclaredITDConstructor(AjType<?> target, AjType<?>... parameterTypes) throws java.lang.NoSuchMethodException
target - the target of the inter-type constructor of interestparameterTypes - the types of the parameter of the inter-type constructor of interestjava.lang.NoSuchMethodException - if the inter-type declaration cannot be foundInterTypeConstructorDeclaration[] getDeclaredITDConstructors()
InterTypeConstructorDeclaration getITDConstructor(AjType<?> target, AjType<?>... parameterTypes) throws java.lang.NoSuchMethodException
target - the target of the inter-type constructor of interestparameterTypes - the types of the parameter of the inter-type constructor of interestjava.lang.NoSuchMethodException - if the inter-type declaration cannot be foundInterTypeConstructorDeclaration[] getITDConstructors()
InterTypeFieldDeclaration getDeclaredITDField(java.lang.String name, AjType<?> target) throws java.lang.NoSuchFieldException
name - the field nametarget - the target type for the inter-type declarationjava.lang.NoSuchFieldException - if the inter-type declaration cannot be foundInterTypeFieldDeclaration[] getDeclaredITDFields()
InterTypeFieldDeclaration getITDField(java.lang.String name, AjType<?> target) throws java.lang.NoSuchFieldException
name - the field nametarget - the target type for the inter-type declarationjava.lang.NoSuchFieldException - if the inter-type declaration cannot be foundInterTypeFieldDeclaration[] getITDFields()
DeclareErrorOrWarning[] getDeclareErrorOrWarnings()
DeclareParents[] getDeclareParents()
DeclareSoft[] getDeclareSofts()
DeclareAnnotation[] getDeclareAnnotations()
DeclarePrecedence[] getDeclarePrecedence()
T[] getEnumConstants()
java.lang.reflect.TypeVariable<java.lang.Class<T>>[] getTypeParameters()
boolean isEnum()
boolean isInstance(java.lang.Object o)
o - the object to check for assignment compatibilityboolean isInterface()
boolean isLocalClass()
boolean isMemberClass()
boolean isArray()
boolean isPrimitive()
boolean isAspect()
boolean isMemberAspect()
boolean isPrivileged()