public class AjTypeImpl<T> extends Object implements AjType<T>
| Constructor and Description |
|---|
AjTypeImpl(Class<T> fromClass) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetTypeNamegetAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByTypepublic String getName()
public Package getPackage()
getPackage in interface AjType<T>public AjType<?>[] getInterfaces()
getInterfaces in interface AjType<T>public int getModifiers()
getModifiers in interface AjType<T>public Class<T> getJavaClass()
getJavaClass in interface AjType<T>public AjType<? super T> getSupertype()
getSupertype in interface AjType<T>public Type getGenericSupertype()
getGenericSupertype in interface AjType<T>public Method getEnclosingMethod()
getEnclosingMethod in interface AjType<T>public Constructor getEnclosingConstructor()
getEnclosingConstructor in interface AjType<T>public AjType<?> getEnclosingType()
getEnclosingType in interface AjType<T>public AjType<?> getDeclaringType()
getDeclaringType in interface AjType<T>public PerClause getPerClause()
getPerClause in interface AjType<T>public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
isAnnotationPresent in interface AnnotatedElementpublic <A extends Annotation> A getAnnotation(Class<A> annotationType)
getAnnotation in interface AnnotatedElementpublic Annotation[] getAnnotations()
getAnnotations in interface AnnotatedElementpublic Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in interface AnnotatedElementpublic AjType<?>[] getAjTypes()
getAjTypes in interface AjType<T>public AjType<?>[] getDeclaredAjTypes()
getDeclaredAjTypes in interface AjType<T>public Constructor getConstructor(AjType<?>... parameterTypes) throws NoSuchMethodException
getConstructor in interface AjType<T>parameterTypes - the types of the constructor parametersNoSuchMethodException - if constructor not foundpublic Constructor[] getConstructors()
getConstructors in interface AjType<T>public Constructor getDeclaredConstructor(AjType<?>... parameterTypes) throws NoSuchMethodException
getDeclaredConstructor in interface AjType<T>parameterTypes - the types of the constructor parametersNoSuchMethodException - if constructor not foundpublic Constructor[] getDeclaredConstructors()
getDeclaredConstructors in interface AjType<T>public Field getDeclaredField(String name) throws NoSuchFieldException
getDeclaredField in interface AjType<T>name - the field nameNoSuchFieldException - if no field of that name is foundpublic Field[] getDeclaredFields()
getDeclaredFields in interface AjType<T>public Field getField(String name) throws NoSuchFieldException
getField in interface AjType<T>name - the field nameNoSuchFieldException - if field not foundpublic Field[] getFields()
public Method getDeclaredMethod(String name, AjType<?>... parameterTypes) throws NoSuchMethodException
getDeclaredMethod in interface AjType<T>name - the method nameparameterTypes - the types of the method parametersNoSuchMethodException - if the method cannot be foundpublic Method getMethod(String name, AjType<?>... parameterTypes) throws NoSuchMethodException
getMethod in interface AjType<T>name - the method nameparameterTypes - the types of the method parametersNoSuchMethodException - if the method cannot be foundpublic Method[] getDeclaredMethods()
getDeclaredMethods in interface AjType<T>public Method[] getMethods()
getMethods in interface AjType<T>public Pointcut getDeclaredPointcut(String name) throws NoSuchPointcutException
getDeclaredPointcut in interface AjType<T>name - the pointcut nameNoSuchPointcutException - if no pointcut of that name can be foundpublic Pointcut getPointcut(String name) throws NoSuchPointcutException
getPointcut in interface AjType<T>name - the pointcut nameNoSuchPointcutException - if no pointcut of that name can be foundpublic Pointcut[] getDeclaredPointcuts()
getDeclaredPointcuts in interface AjType<T>public Pointcut[] getPointcuts()
getPointcuts in interface AjType<T>public Advice[] getDeclaredAdvice(AdviceKind... ofType)
getDeclaredAdvice in interface AjType<T>ofType - the AdviceKinds of interestpublic Advice[] getAdvice(AdviceKind... ofType)
getAdvice in interface AjType<T>ofType - the AdviceKinds of interestpublic Advice getAdvice(String name) throws NoSuchAdviceException
AjTypegetAdvice in interface AjType<T>name - the advice nameNoSuchAdviceException - if no advice can be found with that namepublic Advice getDeclaredAdvice(String name) throws NoSuchAdviceException
AjTypegetDeclaredAdvice in interface AjType<T>name - the advice nameNoSuchAdviceException - if no advice can be found with that namepublic InterTypeMethodDeclaration getDeclaredITDMethod(String name, AjType<?> target, AjType<?>... parameterTypes) throws NoSuchMethodException
getDeclaredITDMethod in interface AjType<T>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 foundpublic InterTypeMethodDeclaration[] getDeclaredITDMethods()
getDeclaredITDMethods in interface AjType<T>public InterTypeMethodDeclaration getITDMethod(String name, AjType<?> target, AjType<?>... parameterTypes) throws NoSuchMethodException
getITDMethod in interface AjType<T>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 foundpublic InterTypeMethodDeclaration[] getITDMethods()
getITDMethods in interface AjType<T>public InterTypeConstructorDeclaration getDeclaredITDConstructor(AjType<?> target, AjType<?>... parameterTypes) throws NoSuchMethodException
getDeclaredITDConstructor in interface AjType<T>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 foundpublic InterTypeConstructorDeclaration[] getDeclaredITDConstructors()
getDeclaredITDConstructors in interface AjType<T>public InterTypeConstructorDeclaration getITDConstructor(AjType<?> target, AjType<?>... parameterTypes) throws NoSuchMethodException
getITDConstructor in interface AjType<T>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 foundpublic InterTypeConstructorDeclaration[] getITDConstructors()
getITDConstructors in interface AjType<T>public InterTypeFieldDeclaration getDeclaredITDField(String name, AjType<?> target) throws NoSuchFieldException
getDeclaredITDField in interface AjType<T>name - the field nametarget - the target type for the inter-type declarationNoSuchFieldException - if the inter-type declaration cannot be foundpublic InterTypeFieldDeclaration[] getDeclaredITDFields()
getDeclaredITDFields in interface AjType<T>public InterTypeFieldDeclaration getITDField(String name, AjType<?> target) throws NoSuchFieldException
getITDField in interface AjType<T>name - the field nametarget - the target type for the inter-type declarationNoSuchFieldException - if the inter-type declaration cannot be foundpublic InterTypeFieldDeclaration[] getITDFields()
getITDFields in interface AjType<T>public DeclareErrorOrWarning[] getDeclareErrorOrWarnings()
getDeclareErrorOrWarnings in interface AjType<T>public DeclareParents[] getDeclareParents()
getDeclareParents in interface AjType<T>public DeclareSoft[] getDeclareSofts()
getDeclareSofts in interface AjType<T>public DeclareAnnotation[] getDeclareAnnotations()
getDeclareAnnotations in interface AjType<T>public DeclarePrecedence[] getDeclarePrecedence()
getDeclarePrecedence in interface AjType<T>public T[] getEnumConstants()
getEnumConstants in interface AjType<T>public TypeVariable<Class<T>>[] getTypeParameters()
getTypeParameters in interface AjType<T>public boolean isEnum()
public boolean isInstance(Object o)
isInstance in interface AjType<T>o - the object to check for assignment compatibilitypublic boolean isInterface()
isInterface in interface AjType<T>public boolean isLocalClass()
isLocalClass in interface AjType<T>public boolean isMemberClass()
isMemberClass in interface AjType<T>public boolean isArray()
public boolean isPrimitive()
isPrimitive in interface AjType<T>public boolean isAspect()
public boolean isMemberAspect()
isMemberAspect in interface AjType<T>public boolean isPrivileged()
isPrivileged in interface AjType<T>Copyright © 2020. All rights reserved.