Logo Search packages:      
Sourcecode: aspectj version File versions

org::aspectj::weaver::MissingResolvedTypeWithKnownSignature Class Reference

Inheritance diagram for org::aspectj::weaver::MissingResolvedTypeWithKnownSignature:

org::aspectj::weaver::UnresolvedType org::aspectj::weaver::AnnotatedElement org::aspectj::weaver::TypeVariableDeclaringElement

List of all members.


Detailed Description

When we try to resolve a type in the world that we require to be present, and then fail to find it, we return an instance of this class. This class defers the production of the "can't find type error" until the first time that someone asks a question that can't be answered solely from the signature. This enables the weaver to be more tolerant of missing types.

Definition at line 28 of file MissingResolvedTypeWithKnownSignature.java.


Public Member Functions

void addAnnotation (AnnotationAJ annotationX)
void addInterTypeMunger (ConcreteTypeMunger munger)
void addParent (ResolvedType newParent)
boolean canAnnotationTargetType ()
void checkInterTypeMungers ()
boolean checkLegalOverride (ResolvedMember parent, ResolvedMember child)
void clearInterTypeMungers ()
CrosscuttingMembers collectCrosscuttingMembers (boolean shouldConcretizeIfNeeded)
final Collection collectDeclares (boolean includeAdviceLike)
ResolvedType discoverActualOccurrenceOfTypeInHierarchy (ResolvedType lookingFor)
void ensureConsistent ()
final boolean equals (Object other)
ConcreteTypeMunger fillInAnyTypeParameters (ConcreteTypeMunger munger)
ResolvedPointcutDefinition findPointcut (String name)
AnnotationAJ getAnnotationOfType (UnresolvedType ofType)
AnnotationAJ[] getAnnotations ()
AnnotationTargetKind[] getAnnotationTargetKinds ()
ResolvedType[] getAnnotationTypes ()
String getBaseName ()
String getBinaryPath ()
String getClassName ()
UnresolvedType getComponentType ()
Collection getDeclaredAdvice ()
ResolvedMember[] getDeclaredFields ()
ResolvedType[] getDeclaredInterfaces ()
ResolvedMember[] getDeclaredJavaFields ()
ResolvedMember[] getDeclaredJavaMethods ()
ResolvedMember[] getDeclaredMethods ()
ResolvedMember[] getDeclaredPointcuts ()
Collection getDeclaredShadowMungers ()
ShadowMunger[] getDeclaredShadowMungersArray ()
Collection getDeclares ()
ResolvedType getDeclaringType ()
final Iterator getDirectSupertypes ()
String getErasureSignature ()
List getExposedPointcuts ()
Iterator getFields ()
ResolvedType getGenericType ()
List getInterTypeMungers ()
List getInterTypeMungersIncludingSupers ()
List getInterTypeParentMungers ()
List getInterTypeParentMungersIncludingSupers ()
Iterator getMethods ()
List getMethodsWithoutIterator (boolean includeITDs, boolean allowMissing, boolean genericsAware)
List getMethodsWithoutIterator (boolean includeITDs, boolean allowMissing)
int getModifiers ()
String getName ()
String getNameAsIdentifier ()
UnresolvedType getOutermostType ()
String getPackageName ()
String getPackageNameAsIdentifier ()
PerClause getPerClause ()
Iterator getPointcuts ()
Collection getPrivilegedAccesses ()
String getRawName ()
UnresolvedType getRawType ()
ResolvedType getResolvedComponentType ()
ResolvedType[] getResolvedTypeParameters ()
String getSignature ()
String getSignatureForAttribute ()
String getSimpleBaseName ()
String getSimpleName ()
int getSize ()
ISourceContext getSourceContext ()
ISourceLocation getSourceLocation ()
ResolvedType getSuperclass ()
ResolvedType getTopmostImplementor (ResolvedType interfaceType)
TypeKind getTypekind ()
Collection getTypeMungers ()
UnresolvedType[] getTypeParameters ()
TypeVariable getTypeVariableNamed (String name)
TypeVariable[] getTypeVariables ()
WeaverStateInfo getWeaverState ()
World getWorld ()
boolean hasAnnotation (UnresolvedType ofType)
final int hashCode ()
final boolean isAbstract ()
boolean isAnnotation ()
boolean isAnnotationStyleAspect ()
boolean isAnnotationWithRuntimeRetention ()
boolean isAnonymous ()
final boolean isArray ()
boolean isAspect ()
boolean isAssignableFrom (ResolvedType other, boolean allowMissing)
boolean isAssignableFrom (ResolvedType other)
boolean isCheckedException ()
boolean isClass ()
boolean isCoerceableFrom (ResolvedType other)
final boolean isConvertableFrom (ResolvedType other)
boolean isEnum ()
boolean isException ()
boolean isExposedToWeaver ()
final boolean isFinal ()
boolean isGenericType ()
boolean isGenericWildcard ()
final boolean isInterface ()
boolean isMissing ()
boolean isNested ()
boolean isParameterizedType ()
boolean isParameterizedWithTypeVariable ()
boolean isPrimitiveType ()
boolean isRawType ()
boolean isSimpleType ()
boolean isSynthetic ()
boolean isTopmostImplementor (ResolvedType interfaceType)
boolean isTypeVariableReference ()
ResolvedMember lookupDirectlyDeclaredMemberNoSupers (Member member)
ResolvedMember lookupField (Member m)
ResolvedMember lookupMemberIncludingITDsOnInterfaces (Member member)
ResolvedMember lookupMemberNoSupers (Member member)
ResolvedMember lookupMemberWithSupersAndITDs (Member member)
ResolvedMember lookupMethod (Member m)
ResolvedMember lookupMethodInITDs (Member m)
ResolvedMember lookupResolvedMember (ResolvedMember aMember, boolean allowMissing, boolean ignoreGenerics)
ResolvedMember lookupSyntheticMember (Member member)
 MissingResolvedTypeWithKnownSignature (String signature, String signatureErasure, World world)
 MissingResolvedTypeWithKnownSignature (String signature, World world)
boolean needsModifiableDelegate ()
boolean needsNoConversionFrom (ResolvedType o)
UnresolvedType parameterize (Map typeBindings)
ResolvedType parameterizedWith (UnresolvedType[] typeParameters)
void raiseWarningOnJoinPointSignature (String signature)
void raiseWarningOnMissingInterfaceWhilstFindingMethods ()
ResolvedType resolve (World world)
void setBinaryPath (String binaryPath)
void setNeedsModifiableDelegate (boolean b)
String toDebugString ()
String toString ()
String toTraceString ()
void write (DataOutputStream s) throws IOException

Static Public Member Functions

static UnresolvedType[] add (UnresolvedType[] types, UnresolvedType end)
static boolean conflictingSignature (Member m1, Member m2)
static UnresolvedType forGenericType (String name, TypeVariable[] tvbs, String genericSig)
static UnresolvedType forGenericTypeSignature (String sig, String declaredGenericSig)
static UnresolvedType forGenericTypeVariables (String sig, TypeVariable[] tVars)
static UnresolvedType forName (String name)
static UnresolvedType[] forNames (String[] names)
static UnresolvedType forRawTypeName (String name)
static UnresolvedType forSignature (String signature)
static UnresolvedType[] forSignatures (String[] sigs)
static String[] getNames (UnresolvedType[] types)
static UnresolvedType[] insert (UnresolvedType start, UnresolvedType[] types)
static boolean isMissing (UnresolvedType unresolved)
static boolean isMoreVisible (int m1, int m2)
static boolean isVisible (int modifiers, ResolvedType targetType, ResolvedType fromType)
static UnresolvedType makeArray (UnresolvedType base, int dims)
static ResolvedType makeArray (ResolvedType type, int dim)
static boolean matches (Member m1, Member m2)
static UnresolvedType read (DataInputStream s) throws IOException
static UnresolvedType[] readArray (DataInputStream s) throws IOException
static void resetPrimitives ()
static void writeArray (UnresolvedType[] types, DataOutputStream s) throws IOException

Public Attributes

CrosscuttingMembers crosscuttingMembers
ResolvedType[] temporaryAnnotationTypes

Static Public Attributes

static final UnresolvedType ANNOTATION = forSignature("Ljava/lang/annotation/Annotation;")
static final UnresolvedType[] ARRAY_WITH_JUST_OBJECT = new UnresolvedType[] { OBJECT }
static final UnresolvedType AT_INHERITED = forSignature("Ljava/lang/annotation/Inherited;")
static final UnresolvedType AT_RETENTION = forSignature("Ljava/lang/annotation/Retention;")
static final UnresolvedType AT_TARGET = forSignature("Ljava/lang/annotation/Target;")
static final Primitive BOOLEAN = new Primitive("Z", 1, 7)
static final Primitive BYTE = new Primitive("B", 1, 0)
static final Primitive CHAR = new Primitive("C", 1, 1)
static final UnresolvedType CLONEABLE = forSignature("Ljava/lang/Cloneable;")
static final Primitive DOUBLE = new Primitive("D", 2, 2)
static final ResolvedType[] EMPTY_RESOLVED_TYPE_ARRAY = new ResolvedType[0]
static final UnresolvedType ENUM = forSignature("Ljava/lang/Enum;")
static final UnresolvedType ERROR = forSignature("Ljava/lang/Error;")
static final Primitive FLOAT = new Primitive("F", 1, 3)
static final Primitive INT = new Primitive("I", 1, 4)
static final UnresolvedType JAVA_LANG_ANNOTATION = UnresolvedType.forSignature("Ljava.lang.annotation.Annotation;")
static final UnresolvedType JAVA_LANG_CLASS = forSignature("Ljava/lang/Class;")
static final UnresolvedType JAVA_LANG_CLASS_ARRAY = forSignature("[Ljava/lang/Class;")
static final UnresolvedType JAVA_LANG_EXCEPTION = forSignature("Ljava/lang/Exception;")
static final UnresolvedType JAVA_LANG_REFLECT_METHOD = forSignature("Ljava/lang/reflect/Method;")
static final UnresolvedType JAVA_LANG_STRING = forSignature("Ljava/lang/String;")
static final UnresolvedType JOINPOINT_ENCLOSINGSTATICPART = forSignature("Lorg/aspectj/lang/JoinPoint$EnclosingStaticPart;")
static final UnresolvedType JOINPOINT_STATICPART = forSignature("Lorg/aspectj/lang/JoinPoint$StaticPart;")
static final Primitive LONG = new Primitive("J", 2, 5)
static final Missing MISSING = new Missing()
static final String MISSING_NAME = "@missing@"
static final ResolvedType[] NONE = new ResolvedType[0]
static final UnresolvedType OBJECT = forSignature("Ljava/lang/Object;")
static final UnresolvedType OBJECTARRAY = forSignature("[Ljava/lang/Object;")
static final String PARAMETERIZED_TYPE_IDENTIFIER = "P"
static final UnresolvedType RUNTIME_EXCEPTION = forSignature("Ljava/lang/RuntimeException;")
static final UnresolvedType SERIALIZABLE = forSignature("Ljava/io/Serializable;")
static final Primitive SHORT = new Primitive("S", 1, 6)
static final UnresolvedType SOMETHING = new UnresolvedType("?")
static final UnresolvedType SUPPRESS_AJ_WARNINGS = forSignature("Lorg/aspectj/lang/annotation/SuppressAjWarnings;")
static final UnresolvedType THROWABLE = forSignature("Ljava/lang/Throwable;")
static final Primitive VOID = new Primitive("V", 0, 8)

Protected Member Functions

boolean ajMembersNeedParameterization ()
void collectInterTypeMungers (List collector)
boolean doesNotExposeShadowMungers ()
Map getAjMemberParameterizationMap ()
Map getMemberParameterizationMap ()

Protected Attributes

List interTypeMungers = new ArrayList(0)
String signature
String signatureErasure
TypeKind typeKind = TypeKind.SIMPLE
UnresolvedType[] typeParameters
TypeVariable[] typeVariables
World world

Static Protected Attributes

static Set validBoxing = new HashSet()

Static Package Functions

 [static initializer]

Private Member Functions

void raiseCantFindType (String key, String insert)
void raiseCantFindType (String key)

Private Attributes

boolean issuedCantFindTypeError = false
boolean issuedJoinPointWarning = false
boolean issuedMissingInterfaceWarning = false

Static Private Attributes

static ResolvedMember[] NO_MEMBERS = new ResolvedMember[0]
static ResolvedType[] NO_TYPES = new ResolvedType[0]

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index