public class MissingResolvedTypeWithKnownSignature extends ResolvedType
UnresolvedType.TypeKindbits, crosscuttingMembers, EMPTY_ARRAY, 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 |
|---|
MissingResolvedTypeWithKnownSignature(java.lang.String signature,
java.lang.String signatureErasure,
World world) |
MissingResolvedTypeWithKnownSignature(java.lang.String signature,
World world) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
collectInterTypeMungers(java.util.List collector) |
AnnotationAJ[] |
getAnnotations() |
ResolvedMember[] |
getDeclaredFields() |
ResolvedType[] |
getDeclaredInterfaces() |
ResolvedMember[] |
getDeclaredMethods() |
ResolvedMember[] |
getDeclaredPointcuts() |
java.util.List |
getInterTypeMungers() |
java.util.List |
getInterTypeMungersIncludingSupers()
??? This method is O(N*M) where N = number of methods and M is number of inter-type declarations in my super
|
java.util.List |
getInterTypeParentMungers() |
java.util.List |
getInterTypeParentMungersIncludingSupers() |
int |
getModifiers() |
ISourceContext |
getSourceContext() |
ResolvedType |
getSuperclass() |
boolean |
hasAnnotation(UnresolvedType ofType) |
boolean |
isAssignableFrom(ResolvedType other)
Determines if the variables of this type could be assigned values of another type without casting.
|
boolean |
isAssignableFrom(ResolvedType other,
boolean allowMissing) |
boolean |
isCoerceableFrom(ResolvedType other)
Determines if values of another type could possibly be cast to this type.
|
boolean |
isMissing() |
void |
raiseWarningOnJoinPointSignature(java.lang.String signature) |
void |
raiseWarningOnMissingInterfaceWhilstFindingMethods() |
addAnnotation, addInterTypeMunger, addParent, ajMembersNeedParameterization, canAnnotationTargetType, checkInterTypeMungers, checkLegalOverride, clearInterTypeMungers, collectCrosscuttingMembers, collectDeclares, conflictingSignature, conflictingSignature, discoverActualOccurrenceOfTypeInHierarchy, doesNotExposeShadowMungers, ensureConsistent, equals, fillInAnyTypeParameters, findPointcut, getAjMemberParameterizationMap, getAnnotationOfType, getAnnotationTargetKinds, getAnnotationTypes, getBinaryPath, getCompilerVersion, getDeclaredAdvice, getDeclaredJavaFields, getDeclaredJavaMethods, getDeclaredShadowMungers, getDeclares, getDeclaringType, getDirectSupertypes, getExposedPointcuts, getFields, getGenericType, getHierarchy, getHierarchy, getHierarchyWithoutIterator, getMemberParameterizationMap, getMethods, getMethodsIncludingIntertypeDeclarations, getMethodsWithoutIterator, getOuterClass, getPerClause, getPointcuts, getPrivilegedAccesses, getRawType, getResolvedComponentType, getResolvedTypeParameters, getSignatureForAttribute, getSize, getSourceLocation, getTopmostImplementor, getTypeMungers, getWeaverState, getWorld, hasAnnotations, isAbstract, isAnnotation, isAnnotationStyleAspect, isAnnotationWithRuntimeRetention, isAnonymous, isAspect, isCacheable, isCheckedException, isClass, isConvertableFrom, isEnum, isException, isExposedToWeaver, isFinal, isGroovyObject, isInheritedAnnotation, isInterface, isMissing, isMoreVisible, isNested, isParameterizedWithTypeVariable, isPrimitiveArray, 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, getComponentType, getErasureSignature, getName, getNameAsIdentifier, getNames, getOutermostType, getPackageName, getPackageNameAsIdentifier, getRawName, getSignature, getSimpleBaseName, getSimpleName, getTypekind, getTypeParameters, getTypeVariableNamed, getTypeVariables, hashCode, insert, isArray, isGenericType, isGenericWildcard, isParameterizedOrGenericType, isParameterizedOrRawType, isParameterizedType, isPrimitiveType, isRawType, isSimpleType, isTypeVariableReference, isVoid, makeArray, needsModifiableDelegate, read, readArray, resolve, setNeedsModifiableDelegate, toDebugString, toString, toTraceString, write, writeArraypublic MissingResolvedTypeWithKnownSignature(java.lang.String signature,
World world)
signature - world - public MissingResolvedTypeWithKnownSignature(java.lang.String signature,
java.lang.String signatureErasure,
World world)
signature - signatureErasure - world - public boolean isMissing()
isMissing in class ResolvedTypepublic ResolvedMember[] getDeclaredFields()
getDeclaredFields in class ResolvedTypepublic ResolvedMember[] getDeclaredMethods()
getDeclaredMethods in class ResolvedTypepublic AnnotationAJ[] getAnnotations()
getAnnotations in class ResolvedTypepublic ResolvedType[] getDeclaredInterfaces()
getDeclaredInterfaces in class ResolvedTypepublic ResolvedMember[] getDeclaredPointcuts()
getDeclaredPointcuts in class ResolvedTypepublic ResolvedType getSuperclass()
getSuperclass in class ResolvedTypepublic int getModifiers()
getModifiers in class ResolvedTypepublic ISourceContext getSourceContext()
getSourceContext in class ResolvedTypepublic boolean isAssignableFrom(ResolvedType other)
ResolvedTypeisAssignableFrom in class ResolvedTypeother - the other typepublic boolean isAssignableFrom(ResolvedType other, boolean allowMissing)
isAssignableFrom in class ResolvedTypepublic boolean isCoerceableFrom(ResolvedType other)
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 ResolvedTypeother - the other typepublic boolean hasAnnotation(UnresolvedType ofType)
public java.util.List getInterTypeMungers()
getInterTypeMungers in class ResolvedTypepublic java.util.List getInterTypeMungersIncludingSupers()
ResolvedTypegetInterTypeMungersIncludingSupers in class ResolvedTypepublic java.util.List getInterTypeParentMungers()
getInterTypeParentMungers in class ResolvedTypepublic java.util.List getInterTypeParentMungersIncludingSupers()
getInterTypeParentMungersIncludingSupers in class ResolvedTypeprotected void collectInterTypeMungers(java.util.List collector)
collectInterTypeMungers in class ResolvedTypepublic void raiseWarningOnJoinPointSignature(java.lang.String signature)
public void raiseWarningOnMissingInterfaceWhilstFindingMethods()