|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.aspectj.weaver.UnresolvedType org.aspectj.weaver.ResolvedType org.aspectj.weaver.ReferenceType org.aspectj.weaver.ArrayReferenceType
public class ArrayReferenceType
Represents a resolved array type
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.aspectj.weaver.UnresolvedType |
---|
UnresolvedType.TypeKind |
Field Summary |
---|
Fields inherited from class org.aspectj.weaver.ReferenceType |
---|
EMPTY_ARRAY |
Fields inherited from class org.aspectj.weaver.ResolvedType |
---|
crosscuttingMembers, EMPTY_RESOLVED_TYPE_ARRAY, interTypeMungers, MISSING, NONE, PARAMETERIZED_TYPE_IDENTIFIER, temporaryAnnotationTypes, validBoxing, world |
Fields inherited from class org.aspectj.weaver.UnresolvedType |
---|
ANNOTATION, ARRAY_WITH_JUST_OBJECT, AT_INHERITED, AT_RETENTION, AT_TARGET, BOOLEAN, BYTE, CHAR, CLONEABLE, DOUBLE, ENUM, ERROR, FLOAT, INT, JAVA_LANG_ANNOTATION, JAVA_LANG_CLASS_ARRAY, JAVA_LANG_REFLECT_CONSTRUCTOR, JAVA_LANG_REFLECT_FIELD, JAVA_LANG_REFLECT_METHOD, JL_CLASS, JL_EXCEPTION, JL_STRING, JOINPOINT_ENCLOSINGSTATICPART, JOINPOINT_STATICPART, LONG, MISSING_NAME, OBJECT, OBJECTARRAY, RUNTIME_EXCEPTION, SERIALIZABLE, SHORT, signature, signatureErasure, SOMETHING, SUPPRESS_AJ_WARNINGS, THROWABLE, typeKind, typeParameters, typeVariables, VOID |
Constructor Summary | |
---|---|
ArrayReferenceType(java.lang.String sig,
java.lang.String erasureSig,
World world,
ResolvedType componentType)
|
Method Summary | |
---|---|
boolean |
canAnnotationTargetType()
Note: Only overridden by ReferenceType subtype |
AnnotationAJ |
getAnnotationOfType(UnresolvedType ofType)
|
AnnotationAJ[] |
getAnnotations()
|
AnnotationTargetKind[] |
getAnnotationTargetKinds()
Note: Only overridden by ReferenceType subtype |
ResolvedType[] |
getAnnotationTypes()
|
UnresolvedType |
getComponentType()
Returns a UnresolvedType object representing the component type of this array, or null if this type does not represent an array type. |
ResolvedMember[] |
getDeclaredFields()
|
ResolvedType[] |
getDeclaredInterfaces()
Find out from the generic signature the true signature of any interfaces I implement. |
ResolvedMember[] |
getDeclaredMethods()
|
ResolvedMember[] |
getDeclaredPointcuts()
|
int |
getModifiers()
|
ResolvedType |
getResolvedComponentType()
|
ISourceContext |
getSourceContext()
|
ResolvedType |
getSuperclass()
|
TypeVariable[] |
getTypeVariables()
|
boolean |
hasAnnotation(UnresolvedType ofType)
|
boolean |
isAnnotation()
Note: Only overridden by Name subtype. |
boolean |
isAnnotationStyleAspect()
|
boolean |
isAnnotationWithRuntimeRetention()
Note: Only overridden by Name subtype. |
boolean |
isAnonymous()
|
boolean |
isAspect()
|
boolean |
isAssignableFrom(ResolvedType o)
Determines if the variables of this type could be assigned values of another type without casting. |
boolean |
isAssignableFrom(ResolvedType o,
boolean allowMissing)
|
boolean |
isClass()
|
boolean |
isCoerceableFrom(ResolvedType o)
Determines if values of another type could possibly be cast to this type. |
boolean |
isEnum()
Note: Only overridden by Name subtype. |
boolean |
isExposedToWeaver()
|
boolean |
isGenericType()
|
boolean |
isGenericWildcard()
|
boolean |
isNested()
|
boolean |
isParameterizedType()
|
boolean |
isPrimitiveArray()
|
boolean |
isPrimitiveType()
|
boolean |
isRawType()
|
boolean |
isSimpleType()
|
boolean |
isTypeVariableReference()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ArrayReferenceType(java.lang.String sig, java.lang.String erasureSig, World world, ResolvedType componentType)
Method Detail |
---|
public final ResolvedMember[] getDeclaredFields()
getDeclaredFields
in class ReferenceType
public final ResolvedMember[] getDeclaredMethods()
getDeclaredMethods
in class ReferenceType
public final ResolvedType[] getDeclaredInterfaces()
ReferenceType
getDeclaredInterfaces
in class ReferenceType
public AnnotationAJ getAnnotationOfType(UnresolvedType ofType)
getAnnotationOfType
in interface AnnotatedElement
getAnnotationOfType
in class ReferenceType
public AnnotationAJ[] getAnnotations()
getAnnotations
in class ReferenceType
public ResolvedType[] getAnnotationTypes()
getAnnotationTypes
in interface AnnotatedElement
getAnnotationTypes
in class ReferenceType
public final ResolvedMember[] getDeclaredPointcuts()
getDeclaredPointcuts
in class ReferenceType
public boolean hasAnnotation(UnresolvedType ofType)
hasAnnotation
in interface AnnotatedElement
hasAnnotation
in class ReferenceType
public final ResolvedType getSuperclass()
getSuperclass
in class ReferenceType
public final boolean isAssignableFrom(ResolvedType o)
ResolvedType
isAssignableFrom
in class ReferenceType
o
- the other type
public boolean isAssignableFrom(ResolvedType o, boolean allowMissing)
isAssignableFrom
in class ReferenceType
public final boolean isCoerceableFrom(ResolvedType o)
ResolvedType
This method should be commutative, i.e., for all UnresolvedType a, b and all World w:
a.isCoerceableFrom(b, w) == b.isCoerceableFrom(a, w)
isCoerceableFrom
in class ReferenceType
o
- the other type
public final int getModifiers()
getModifiers
in class ReferenceType
public UnresolvedType getComponentType()
UnresolvedType
getComponentType
in class UnresolvedType
public ResolvedType getResolvedComponentType()
getResolvedComponentType
in class ResolvedType
public ISourceContext getSourceContext()
getSourceContext
in class ReferenceType
public TypeVariable[] getTypeVariables()
getTypeVariables
in class ReferenceType
public boolean isAnnotation()
ResolvedType
isAnnotation
in class ReferenceType
public boolean isAnonymous()
isAnonymous
in class ReferenceType
public boolean isAnnotationStyleAspect()
isAnnotationStyleAspect
in class ReferenceType
public boolean isAspect()
isAspect
in class ReferenceType
public boolean isPrimitiveType()
isPrimitiveType
in class UnresolvedType
public boolean isSimpleType()
isSimpleType
in class UnresolvedType
public boolean isRawType()
isRawType
in class UnresolvedType
public boolean isGenericType()
isGenericType
in class ReferenceType
public boolean isParameterizedType()
isParameterizedType
in class UnresolvedType
public boolean isTypeVariableReference()
isTypeVariableReference
in class UnresolvedType
public boolean isGenericWildcard()
isGenericWildcard
in class UnresolvedType
public boolean isEnum()
ResolvedType
isEnum
in class ReferenceType
public boolean isNested()
isNested
in class ReferenceType
public boolean isClass()
isClass
in class ReferenceType
public boolean isExposedToWeaver()
isExposedToWeaver
in class ReferenceType
public boolean canAnnotationTargetType()
ResolvedType
canAnnotationTargetType
in class ReferenceType
public AnnotationTargetKind[] getAnnotationTargetKinds()
ResolvedType
getAnnotationTargetKinds
in class ReferenceType
public boolean isAnnotationWithRuntimeRetention()
ResolvedType
isAnnotationWithRuntimeRetention
in class ReferenceType
public boolean isPrimitiveArray()
isPrimitiveArray
in class ResolvedType
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |