org.aspectj.org.eclipse.jdt.internal.compiler.lookup
Class PolyTypeBinding

java.lang.Object
  extended by org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
      extended by org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding
          extended by org.aspectj.org.eclipse.jdt.internal.compiler.lookup.PolyTypeBinding

public class PolyTypeBinding
extends TypeBinding


Field Summary
 
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding
BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, id, INT, LONG, NULL, SHORT, tagBits, TYPE_USE_BINDING, typeAnnotations, VOID
 
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
ANY_EXCEPTION, ARRAY_TYPE, BASE_TYPE, DefaultLocationArrayContents, DefaultLocationField, DefaultLocationParameter, DefaultLocationReturnType, DefaultLocationTypeArgument, DefaultLocationTypeBound, DefaultLocationTypeParameter, FIELD, GENERIC_TYPE, IMPORT, INTERSECTION_CAST_TYPE, INTERSECTION_TYPE, LOCAL, METHOD, NO_ANNOTATIONS, NO_ELEMENT_VALUE_PAIRS, NO_EXCEPTIONS, NO_FIELDS, NO_MEMBER_TYPES, NO_METHODS, NO_NULL_DEFAULT, NO_PARAMETER_NAMES, NO_PARAMETERS, NO_REFERENCE_TYPES, NO_SUPERINTERFACES, NO_TYPE_VARIABLES, NO_TYPES, NONNULL_BY_DEFAULT, NULL_UNSPECIFIED_BY_DEFAULT, NullnessDefaultMASK, PACKAGE, PARAMETERIZED_TYPE, POLY_TYPE, RAW_TYPE, TYPE, TYPE_PARAMETER, TYPE_USE, UNINITIALIZED_FIELDS, UNINITIALIZED_METHODS, UNINITIALIZED_REFERENCE_TYPES, VARIABLE, WILDCARD_TYPE
 
Constructor Summary
PolyTypeBinding(Expression expression)
           
 
Method Summary
 TypeBinding computeBoxingType()
           
 char[] constantPoolName()
          Answer the receiver's constant pool name.
 PackageBinding getPackage()
           
 boolean isCompatibleWith(TypeBinding left, Scope scope)
           
 int kind()
           
 char[] qualifiedSourceName()
          Answer the source name for the type.
 char[] readableName()
           
 char[] shortReadableName()
           
 boolean sIsMoreSpecific(TypeBinding s, TypeBinding t, Scope scope)
           
 char[] sourceName()
           
 java.lang.String toString()
           
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding
acceptsNonNullDefault, actualType, annotatedDebugName, canBeInstantiated, canBeSeenBy, capture, clone, closestMatch, collectMissingTypes, collectSubstitutes, containerAnnotationType, debugName, depth, dimensions, enclosingType, enterRecursiveFunction, equalsEquals, erasure, exitRecursiveFunction, findSuperTypeOriginatingFrom, findSuperTypeOriginatingFrom, genericCast, genericTypeSignature, getErasureCompatibleType, getIntersectingTypes, getMethods, getSingleAbstractMethod, getTypeAnnotations, hasNullTypeAnnotations, hasTypeAnnotations, hasTypeBit, isAnonymousType, isArrayType, isBaseType, isBoundParameterizedType, isBoxedPrimitiveType, isCapture, isClass, isCompatibleWith, isEnum, isEquivalentTo, isFunctionalInterface, isGenericType, isHierarchyInconsistent, isInterface, isIntersectionCastType, isIntersectionType, isLocalType, isMemberType, isNestedType, isNumericType, isParameterizedType, isParameterizedTypeWithActualArguments, isParameterizedWithOwnVariables, isPrimitiveOrBoxedPrimitiveType, isPrimitiveType, isProperType, isProvablyDistinct, isRawType, isReifiable, isRepeatableAnnotationType, isStatic, isSubtypeOf, isThrowable, isTypeArgumentContainedBy, isTypeVariable, isUnboundWildcard, isUncheckedException, isUnresolvedType, isWildcard, leafComponentType, mentionsAny, needsUncheckedConversion, notEquals, nullAnnotatedReadableName, original, prototype, qualifiedPackageName, setTypeAnnotations, signature, superclass, superInterfaces, swapUnresolved, syntheticOuterLocalVariables, typeVariables, unannotated, uncapture, wellKnownType
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
computeUniqueKey, computeUniqueKey, getAnnotations, getAnnotationTagBits, initializeDeprecatedAnnotationTagBits, isAnnotationType, isParameter, isTaggedRepeatable, isValidBinding, isVolatile, problemId, setAnnotations, setAnnotations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PolyTypeBinding

public PolyTypeBinding(Expression expression)
Method Detail

constantPoolName

public char[] constantPoolName()
Description copied from class: TypeBinding
Answer the receiver's constant pool name. NOTE: This method should only be used during/after code gen. e.g. 'java/lang/Object'

Specified by:
constantPoolName in class TypeBinding

getPackage

public PackageBinding getPackage()
Specified by:
getPackage in class TypeBinding

isCompatibleWith

public boolean isCompatibleWith(TypeBinding left,
                                Scope scope)
Specified by:
isCompatibleWith in class TypeBinding

qualifiedSourceName

public char[] qualifiedSourceName()
Description copied from class: TypeBinding
Answer the source name for the type. In the case of member types, as the qualified name from its top level type. For example, for a member type N defined inside M & A: "A.M.N".

Specified by:
qualifiedSourceName in class TypeBinding

sourceName

public char[] sourceName()
Specified by:
sourceName in class TypeBinding

readableName

public char[] readableName()
Specified by:
readableName in class Binding

shortReadableName

public char[] shortReadableName()
Overrides:
shortReadableName in class Binding

sIsMoreSpecific

public boolean sIsMoreSpecific(TypeBinding s,
                               TypeBinding t,
                               Scope scope)
Overrides:
sIsMoreSpecific in class TypeBinding

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

kind

public int kind()
Overrides:
kind in class TypeBinding

computeBoxingType

public TypeBinding computeBoxingType()