Package org.aspectj.lang.reflect
Interface AjType<T>
-
- All Superinterfaces:
AnnotatedElement,Type
- All Known Implementing Classes:
AjTypeImpl
public interface AjType<T> extends Type, AnnotatedElement
-
-
Method Summary
-
Methods inherited from interface java.lang.reflect.AnnotatedElement
getAnnotation, getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotations, getDeclaredAnnotationsByType, isAnnotationPresent
-
Methods inherited from interface java.lang.reflect.Type
getTypeName
-
-
-
-
Method Detail
-
getName
String getName()
-
getPackage
Package getPackage()
-
getInterfaces
AjType<?>[] getInterfaces()
-
getModifiers
int getModifiers()
-
getSupertype
AjType<?> getSupertype()
-
getGenericSupertype
Type getGenericSupertype()
-
getEnclosingMethod
Method getEnclosingMethod()
-
getEnclosingConstructor
Constructor getEnclosingConstructor()
-
getEnclosingType
AjType<?> getEnclosingType()
-
getDeclaringType
AjType<?> getDeclaringType()
-
getPerClause
PerClause getPerClause()
-
getAjTypes
AjType<?>[] getAjTypes()
-
getDeclaredAjTypes
AjType<?>[] getDeclaredAjTypes()
-
getConstructor
Constructor getConstructor(AjType<?>... parameterTypes) throws NoSuchMethodException
- Throws:
NoSuchMethodException
-
getConstructors
Constructor[] getConstructors()
-
getDeclaredConstructor
Constructor getDeclaredConstructor(AjType<?>... parameterTypes) throws NoSuchMethodException
- Throws:
NoSuchMethodException
-
getDeclaredConstructors
Constructor[] getDeclaredConstructors()
-
getDeclaredField
Field getDeclaredField(String name) throws NoSuchFieldException
- Throws:
NoSuchFieldException
-
getDeclaredFields
Field[] getDeclaredFields()
-
getField
Field getField(String name) throws NoSuchFieldException
- Throws:
NoSuchFieldException
-
getFields
Field[] getFields()
-
getDeclaredMethod
Method getDeclaredMethod(String name, AjType<?>... parameterTypes) throws NoSuchMethodException
- Throws:
NoSuchMethodException
-
getMethod
Method getMethod(String name, AjType<?>... parameterTypes) throws NoSuchMethodException
- Throws:
NoSuchMethodException
-
getDeclaredMethods
Method[] getDeclaredMethods()
-
getMethods
Method[] getMethods()
-
getDeclaredPointcut
Pointcut getDeclaredPointcut(String name) throws NoSuchPointcutException
- Throws:
NoSuchPointcutException
-
getPointcut
Pointcut getPointcut(String name) throws NoSuchPointcutException
- Throws:
NoSuchPointcutException
-
getDeclaredPointcuts
Pointcut[] getDeclaredPointcuts()
-
getPointcuts
Pointcut[] getPointcuts()
-
getDeclaredAdvice
Advice[] getDeclaredAdvice(AdviceKind... ofTypes)
-
getAdvice
Advice[] getAdvice(AdviceKind... ofTypes)
-
getAdvice
Advice getAdvice(String name) throws NoSuchAdviceException
- Throws:
NoSuchAdviceException
-
getDeclaredAdvice
Advice getDeclaredAdvice(String name) throws NoSuchAdviceException
- Throws:
NoSuchAdviceException
-
getDeclaredITDMethod
InterTypeMethodDeclaration getDeclaredITDMethod(String name, AjType<?> target, AjType<?>... parameterTypes) throws NoSuchMethodException
- Throws:
NoSuchMethodException
-
getDeclaredITDMethods
InterTypeMethodDeclaration[] getDeclaredITDMethods()
-
getITDMethod
InterTypeMethodDeclaration getITDMethod(String name, AjType<?> target, AjType<?>... parameterTypes) throws NoSuchMethodException
- Throws:
NoSuchMethodException
-
getITDMethods
InterTypeMethodDeclaration[] getITDMethods()
-
getDeclaredITDConstructor
InterTypeConstructorDeclaration getDeclaredITDConstructor(AjType<?> target, AjType<?>... parameterTypes) throws NoSuchMethodException
- Throws:
NoSuchMethodException
-
getDeclaredITDConstructors
InterTypeConstructorDeclaration[] getDeclaredITDConstructors()
-
getITDConstructor
InterTypeConstructorDeclaration getITDConstructor(AjType<?> target, AjType<?>... parameterTypes) throws NoSuchMethodException
- Throws:
NoSuchMethodException
-
getITDConstructors
InterTypeConstructorDeclaration[] getITDConstructors()
-
getDeclaredITDField
InterTypeFieldDeclaration getDeclaredITDField(String name, AjType<?> target) throws NoSuchFieldException
- Throws:
NoSuchFieldException
-
getDeclaredITDFields
InterTypeFieldDeclaration[] getDeclaredITDFields()
-
getITDField
InterTypeFieldDeclaration getITDField(String name, AjType<?> target) throws NoSuchFieldException
- Throws:
NoSuchFieldException
-
getITDFields
InterTypeFieldDeclaration[] getITDFields()
-
getDeclareErrorOrWarnings
DeclareErrorOrWarning[] getDeclareErrorOrWarnings()
-
getDeclareParents
DeclareParents[] getDeclareParents()
-
getDeclareSofts
DeclareSoft[] getDeclareSofts()
-
getDeclareAnnotations
DeclareAnnotation[] getDeclareAnnotations()
-
getDeclarePrecedence
DeclarePrecedence[] getDeclarePrecedence()
-
getEnumConstants
T[] getEnumConstants()
-
getTypeParameters
TypeVariable<Class<T>>[] getTypeParameters()
-
isEnum
boolean isEnum()
-
isInstance
boolean isInstance(Object o)
-
isInterface
boolean isInterface()
-
isLocalClass
boolean isLocalClass()
-
isMemberClass
boolean isMemberClass()
-
isArray
boolean isArray()
-
isPrimitive
boolean isPrimitive()
-
isAspect
boolean isAspect()
-
isMemberAspect
boolean isMemberAspect()
-
isPrivileged
boolean isPrivileged()
-
-