public interface AjType<T> extends Type, AnnotatedElement
getTypeNamegetAnnotation, getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotations, getDeclaredAnnotationsByType, isAnnotationPresentString getName()
Package getPackage()
AjType<?>[] getInterfaces()
int getModifiers()
AjType<?> getSupertype()
Type getGenericSupertype()
Method getEnclosingMethod()
Constructor getEnclosingConstructor()
AjType<?> getEnclosingType()
AjType<?> getDeclaringType()
PerClause getPerClause()
AjType<?>[] getAjTypes()
AjType<?>[] getDeclaredAjTypes()
Constructor getConstructor(AjType<?>... parameterTypes) throws NoSuchMethodException
parameterTypes - the types of the constructor parametersNoSuchMethodException - if constructor not foundConstructor[] getConstructors()
Constructor getDeclaredConstructor(AjType<?>... parameterTypes) throws NoSuchMethodException
parameterTypes - the types of the constructor parametersNoSuchMethodException - if constructor not foundConstructor[] getDeclaredConstructors()
Field getDeclaredField(String name) throws NoSuchFieldException
name - the field nameNoSuchFieldException - if no field of that name is foundField[] getDeclaredFields()
Field getField(String name) throws NoSuchFieldException
name - the field nameNoSuchFieldException - if field not foundField[] getFields()
Method getDeclaredMethod(String name, AjType<?>... parameterTypes) throws NoSuchMethodException
name - the method nameparameterTypes - the types of the method parametersNoSuchMethodException - if the method cannot be foundMethod getMethod(String name, AjType<?>... parameterTypes) throws NoSuchMethodException
name - the method nameparameterTypes - the types of the method parametersNoSuchMethodException - if the method cannot be foundMethod[] getDeclaredMethods()
Method[] getMethods()
Pointcut getDeclaredPointcut(String name) throws NoSuchPointcutException
name - the pointcut nameNoSuchPointcutException - if no pointcut of that name can be foundPointcut getPointcut(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(String name) throws NoSuchAdviceException
name - the advice nameNoSuchAdviceException - if no advice can be found with that nameAdvice getDeclaredAdvice(String name) throws NoSuchAdviceException
name - the advice nameNoSuchAdviceException - if no advice can be found with that nameInterTypeMethodDeclaration getDeclaredITDMethod(String name, AjType<?> target, AjType<?>... parameterTypes) throws NoSuchMethodException
name - the method nametarget - the target of the inter-type declarationparameterTypes - the types of the inter-type method declarationNoSuchMethodException - if the inter-type declaration cannot be foundInterTypeMethodDeclaration[] getDeclaredITDMethods()
InterTypeMethodDeclaration getITDMethod(String name, AjType<?> target, AjType<?>... parameterTypes) throws NoSuchMethodException
name - the method nametarget - the target of the inter-type declarationparameterTypes - the types of the inter-type method declarationNoSuchMethodException - if the inter-type declaration cannot be foundInterTypeMethodDeclaration[] getITDMethods()
InterTypeConstructorDeclaration getDeclaredITDConstructor(AjType<?> target, AjType<?>... parameterTypes) throws NoSuchMethodException
target - the target of the inter-type constructor of interestparameterTypes - the types of the parameter of the inter-type constructor of interestNoSuchMethodException - if the inter-type declaration cannot be foundInterTypeConstructorDeclaration[] getDeclaredITDConstructors()
InterTypeConstructorDeclaration getITDConstructor(AjType<?> target, AjType<?>... parameterTypes) throws NoSuchMethodException
target - the target of the inter-type constructor of interestparameterTypes - the types of the parameter of the inter-type constructor of interestNoSuchMethodException - if the inter-type declaration cannot be foundInterTypeConstructorDeclaration[] getITDConstructors()
InterTypeFieldDeclaration getDeclaredITDField(String name, AjType<?> target) throws NoSuchFieldException
name - the field nametarget - the target type for the inter-type declarationNoSuchFieldException - if the inter-type declaration cannot be foundInterTypeFieldDeclaration[] getDeclaredITDFields()
InterTypeFieldDeclaration getITDField(String name, AjType<?> target) throws NoSuchFieldException
name - the field nametarget - the target type for the inter-type declarationNoSuchFieldException - if the inter-type declaration cannot be foundInterTypeFieldDeclaration[] getITDFields()
DeclareErrorOrWarning[] getDeclareErrorOrWarnings()
DeclareParents[] getDeclareParents()
DeclareSoft[] getDeclareSofts()
DeclareAnnotation[] getDeclareAnnotations()
DeclarePrecedence[] getDeclarePrecedence()
T[] getEnumConstants()
TypeVariable<Class<T>>[] getTypeParameters()
boolean isEnum()
boolean isInstance(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()
Copyright © 2020. All rights reserved.