|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 ReferenceTypepublic final ResolvedMember[] getDeclaredMethods()
getDeclaredMethods in class ReferenceTypepublic final ResolvedType[] getDeclaredInterfaces()
ReferenceType
getDeclaredInterfaces in class ReferenceTypepublic AnnotationAJ getAnnotationOfType(UnresolvedType ofType)
getAnnotationOfType in interface AnnotatedElementgetAnnotationOfType in class ReferenceTypepublic AnnotationAJ[] getAnnotations()
getAnnotations in class ReferenceTypepublic ResolvedType[] getAnnotationTypes()
getAnnotationTypes in interface AnnotatedElementgetAnnotationTypes in class ReferenceTypepublic final ResolvedMember[] getDeclaredPointcuts()
getDeclaredPointcuts in class ReferenceTypepublic boolean hasAnnotation(UnresolvedType ofType)
hasAnnotation in interface AnnotatedElementhasAnnotation in class ReferenceTypepublic final ResolvedType getSuperclass()
getSuperclass in class ReferenceTypepublic final boolean isAssignableFrom(ResolvedType o)
ResolvedType
isAssignableFrom in class ReferenceTypeo - the other type
public boolean isAssignableFrom(ResolvedType o,
boolean allowMissing)
isAssignableFrom in class ReferenceTypepublic final boolean isCoerceableFrom(ResolvedType o)
ResolvedTypeThis 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 ReferenceTypeo - the other type
public final int getModifiers()
getModifiers in class ReferenceTypepublic UnresolvedType getComponentType()
UnresolvedType
getComponentType in class UnresolvedTypepublic ResolvedType getResolvedComponentType()
getResolvedComponentType in class ResolvedTypepublic ISourceContext getSourceContext()
getSourceContext in class ReferenceTypepublic TypeVariable[] getTypeVariables()
getTypeVariables in class ReferenceTypepublic boolean isAnnotation()
ResolvedType
isAnnotation in class ReferenceTypepublic boolean isAnonymous()
isAnonymous in class ReferenceTypepublic boolean isAnnotationStyleAspect()
isAnnotationStyleAspect in class ReferenceTypepublic boolean isAspect()
isAspect in class ReferenceTypepublic boolean isPrimitiveType()
isPrimitiveType in class UnresolvedTypepublic boolean isSimpleType()
isSimpleType in class UnresolvedTypepublic boolean isRawType()
isRawType in class UnresolvedTypepublic boolean isGenericType()
isGenericType in class ReferenceTypepublic boolean isParameterizedType()
isParameterizedType in class UnresolvedTypepublic boolean isTypeVariableReference()
isTypeVariableReference in class UnresolvedTypepublic boolean isGenericWildcard()
isGenericWildcard in class UnresolvedTypepublic boolean isEnum()
ResolvedType
isEnum in class ReferenceTypepublic boolean isNested()
isNested in class ReferenceTypepublic boolean isClass()
isClass in class ReferenceTypepublic boolean isExposedToWeaver()
isExposedToWeaver in class ReferenceTypepublic boolean canAnnotationTargetType()
ResolvedType
canAnnotationTargetType in class ReferenceTypepublic AnnotationTargetKind[] getAnnotationTargetKinds()
ResolvedType
getAnnotationTargetKinds in class ReferenceTypepublic boolean isAnnotationWithRuntimeRetention()
ResolvedType
isAnnotationWithRuntimeRetention in class ReferenceTypepublic boolean isPrimitiveArray()
isPrimitiveArray in class ResolvedType
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||