public class ArrayReferenceType extends ReferenceType
UnresolvedType.TypeKindEMPTY_ARRAYbits, crosscuttingMembers, EMPTY_RESOLVED_TYPE_ARRAY, interTypeMungers, MISSING, NONE, PARAMETERIZED_TYPE_IDENTIFIER, temporaryAnnotationTypes, validBoxing, worldANNOTATION, 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 and Description |
|---|
ArrayReferenceType(java.lang.String sig,
java.lang.String erasureSig,
World world,
ResolvedType componentType) |
| Modifier and Type | Method and Description |
|---|---|
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() |
addAnnotation, addParent, checkDuplicates, demoteToSimpleType, doesNotExposeShadowMungers, ensureConsistent, findDerivativeType, fromTypeX, getCompilerVersion, getDeclaredGenericSignature, getDeclares, getDelegate, getEndPos, getGenericSignature, getGenericType, getNameAsIdentifier, getOuterClass, getPerClause, getPrivilegedAccesses, getRetentionPolicy, getSignatureForAttribute, getSourceLocation, getStartPos, getTypeMungers, getWeaverState, hasAnnotations, hasNewInterfaces, setDelegate, setEndPos, setGenericType, setStartPosaddInterTypeMunger, ajMembersNeedParameterization, checkInterTypeMungers, checkLegalOverride, clearInterTypeMungers, collectCrosscuttingMembers, collectDeclares, collectInterTypeMungers, conflictingSignature, conflictingSignature, discoverActualOccurrenceOfTypeInHierarchy, equals, fillInAnyTypeParameters, findPointcut, getAjMemberParameterizationMap, getBinaryPath, getDeclaredAdvice, getDeclaredJavaFields, getDeclaredJavaMethods, getDeclaredShadowMungers, getDeclaringType, getDirectSupertypes, getExposedPointcuts, getFields, getHierarchy, getHierarchy, getHierarchyWithoutIterator, getInterTypeMungers, getInterTypeMungersIncludingSupers, getInterTypeParentMungers, getInterTypeParentMungersIncludingSupers, getMemberParameterizationMap, getMethods, getMethodsIncludingIntertypeDeclarations, getMethodsWithoutIterator, getPointcuts, getRawType, getResolvedTypeParameters, getSize, getTopmostImplementor, getWorld, isAbstract, isCacheable, isCheckedException, isConvertableFrom, isException, isFinal, isGroovyObject, isInheritedAnnotation, isInterface, isMissing, isMissing, isMoreVisible, isParameterizedWithTypeVariable, isSynthetic, isTopmostImplementor, isTypeHierarchyComplete, isVisible, lookupDirectlyDeclaredMemberNoSupers, lookupField, lookupMemberIncludingITDsOnInterfaces, lookupMemberNoSupers, lookupMemberWithSupersAndITDs, lookupMethod, lookupMethodInITDs, lookupResolvedMember, lookupSyntheticMember, makeArray, matches, needsNoConversionFrom, parameterize, parameterizedWith, setBinaryPath, tagAsTypeHierarchyCompleteadd, forGenericType, forGenericTypeSignature, forGenericTypeVariables, forName, forNames, forPrimitiveType, forRawTypeName, forSignature, forSignatures, getBaseName, getClassName, getErasureSignature, getName, getNames, getOutermostType, getPackageName, getPackageNameAsIdentifier, getRawName, getSignature, getSimpleBaseName, getSimpleName, getTypekind, getTypeParameters, getTypeVariableNamed, hashCode, insert, isArray, isParameterizedOrGenericType, isParameterizedOrRawType, isVoid, makeArray, needsModifiableDelegate, read, readArray, resolve, setNeedsModifiableDelegate, toDebugString, toString, toTraceString, write, writeArraypublic ArrayReferenceType(java.lang.String sig,
java.lang.String erasureSig,
World world,
ResolvedType componentType)
public final ResolvedMember[] getDeclaredFields()
getDeclaredFields in class ReferenceTypepublic final ResolvedMember[] getDeclaredMethods()
getDeclaredMethods in class ReferenceTypepublic final ResolvedType[] getDeclaredInterfaces()
ReferenceTypegetDeclaredInterfaces 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)
ResolvedTypeisAssignableFrom in class ReferenceTypeo - the other typepublic 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 typepublic final int getModifiers()
getModifiers in class ReferenceTypepublic UnresolvedType getComponentType()
UnresolvedTypegetComponentType in class UnresolvedTypepublic ResolvedType getResolvedComponentType()
getResolvedComponentType in class ResolvedTypepublic ISourceContext getSourceContext()
getSourceContext in class ReferenceTypepublic TypeVariable[] getTypeVariables()
getTypeVariables in class ReferenceTypepublic boolean isAnnotation()
ResolvedTypeisAnnotation 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()
ResolvedTypeisEnum in class ReferenceTypepublic boolean isNested()
isNested in class ReferenceTypepublic boolean isClass()
isClass in class ReferenceTypepublic boolean isExposedToWeaver()
isExposedToWeaver in class ReferenceTypepublic boolean canAnnotationTargetType()
ResolvedTypecanAnnotationTargetType in class ReferenceTypepublic AnnotationTargetKind[] getAnnotationTargetKinds()
ResolvedTypegetAnnotationTargetKinds in class ReferenceTypepublic boolean isAnnotationWithRuntimeRetention()
ResolvedTypeisAnnotationWithRuntimeRetention in class ReferenceTypepublic boolean isPrimitiveArray()
isPrimitiveArray in class ResolvedType