org.aspectj.weaver
Class WildcardedUnresolvedType

java.lang.Object
  extended by org.aspectj.weaver.UnresolvedType
      extended by org.aspectj.weaver.WildcardedUnresolvedType
All Implemented Interfaces:
Traceable, TypeVariableDeclaringElement

public class WildcardedUnresolvedType
extends UnresolvedType

Represents a wildcarded bound for a generic type, this can be unbounded '?' or bounded via extends '? extends Foo' or super '? super Foo'. The signature for a ? is in fact "*" and the erasure signature is the upper bound which defaults to java.lang.Object if nothing is specified. On resolution, this becomes a BoundedReferenceType


Nested Class Summary
 
Nested classes/interfaces inherited from class org.aspectj.weaver.UnresolvedType
UnresolvedType.TypeKind
 
Field Summary
static int EXTENDS
           
static WildcardedUnresolvedType QUESTIONMARK
           
static int SUPER
           
static int UNBOUND
           
 
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, NONE, OBJECT, OBJECTARRAY, RUNTIME_EXCEPTION, SERIALIZABLE, SHORT, signature, signatureErasure, SOMETHING, SUPPRESS_AJ_WARNINGS, THROWABLE, typeKind, typeParameters, typeVariables, VOID
 
Constructor Summary
WildcardedUnresolvedType(java.lang.String signature, UnresolvedType upperBound, UnresolvedType lowerBound)
           
 
Method Summary
 UnresolvedType getLowerBound()
           
 UnresolvedType getUpperBound()
           
 boolean isExtends()
           
 boolean isSuper()
           
 boolean isUnbound()
           
 
Methods inherited from class org.aspectj.weaver.UnresolvedType
add, equals, forGenericType, forGenericTypeSignature, forGenericTypeVariables, forName, forNames, forPrimitiveType, forRawTypeName, forSignature, forSignatures, getBaseName, getClassName, getComponentType, getErasureSignature, getName, getNameAsIdentifier, getNames, getOutermostType, getPackageName, getPackageNameAsIdentifier, getRawName, getRawType, getSignature, getSimpleBaseName, getSimpleName, getSize, getTypekind, getTypeParameters, getTypeVariableNamed, getTypeVariables, hashCode, insert, isArray, isGenericType, isGenericWildcard, isParameterizedOrGenericType, isParameterizedOrRawType, isParameterizedType, isPrimitiveType, isRawType, isSimpleType, isTypeVariableReference, isVoid, makeArray, needsModifiableDelegate, parameterize, read, readArray, resolve, setNeedsModifiableDelegate, toDebugString, toString, toTraceString, write, writeArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UNBOUND

public static final int UNBOUND
See Also:
Constant Field Values

EXTENDS

public static final int EXTENDS
See Also:
Constant Field Values

SUPER

public static final int SUPER
See Also:
Constant Field Values

QUESTIONMARK

public static final WildcardedUnresolvedType QUESTIONMARK
Constructor Detail

WildcardedUnresolvedType

public WildcardedUnresolvedType(java.lang.String signature,
                                UnresolvedType upperBound,
                                UnresolvedType lowerBound)
Method Detail

getUpperBound

public UnresolvedType getUpperBound()

getLowerBound

public UnresolvedType getLowerBound()

isExtends

public boolean isExtends()

isSuper

public boolean isSuper()

isUnbound

public boolean isUnbound()