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

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.BaseTypeBinding

public final class BaseTypeBinding
extends TypeBinding


Field Summary
 char[] simpleName
           
 
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding
BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, id, INT, LONG, NULL, SHORT, tagBits, VOID
 
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
ANY_EXCEPTION, ARRAY_TYPE, BASE_TYPE, FIELD, GENERIC_TYPE, IMPORT, LOCAL, METHOD, NO_ANNOTATIONS, NO_ELEMENT_VALUE_PAIRS, NO_EXCEPTIONS, NO_FIELDS, NO_MEMBER_TYPES, NO_METHODS, NO_PARAMETERS, NO_SUPERINTERFACES, NO_TYPE_VARIABLES, NO_TYPES, PACKAGE, PARAMETERIZED_TYPE, RAW_TYPE, TYPE, TYPE_PARAMETER, VARIABLE, WILDCARD_TYPE
 
Method Summary
 char[] computeUniqueKey(boolean isLeaf)
          int -> I
 char[] constantPoolName()
          Answer the receiver's constant pool name.
 PackageBinding getPackage()
           
 boolean isCompatibleWith(TypeBinding right)
           
static boolean isNarrowing(int left, int right)
           
 boolean isUncheckedException(boolean includeSupertype)
          T_null is acting as an unchecked exception
static boolean isWidening(int left, int right)
           
 int kind()
           
 char[] qualifiedSourceName()
          Answer the source name for the type.
 char[] readableName()
           
 char[] shortReadableName()
           
 char[] sourceName()
           
 java.lang.String toString()
           
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding
canBeInstantiated, capture, collectSubstitutes, debugName, dimensions, enclosingType, erasure, findSuperTypeErasingTo, findSuperTypeWithSameErasure, genericCast, genericTypeSignature, isAnnotationType, isAnonymousType, isArrayType, isBaseType, isBoundParameterizedType, isCapture, isClass, isEnum, isEquivalentTo, isGenericType, isHierarchyInconsistent, isInterface, isIntersectingWith, isIntersectionType, isLocalType, isMemberType, isNestedType, isNumericType, isParameterizedType, isParameterizedWithOwnVariables, isProvablyDistinctFrom, isRawType, isReifiable, isThrowable, isTypeArgumentContainedBy, isTypeArgumentIntersecting, isTypeVariable, isUnboundWildcard, isWildcard, leafComponentType, needsUncheckedConversion, qualifiedPackageName, signature, swapUnresolved, typeVariables, wellKnownType
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
computeUniqueKey, getAnnotationTagBits, initializeDeprecatedAnnotationTagBits, isValidBinding, problemId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

simpleName

public char[] simpleName
Method Detail

computeUniqueKey

public char[] computeUniqueKey(boolean isLeaf)
int -> I

Overrides:
computeUniqueKey in class Binding

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 final boolean isCompatibleWith(TypeBinding right)
Specified by:
isCompatibleWith in class TypeBinding

isNarrowing

public static final boolean isNarrowing(int left,
                                        int right)

isUncheckedException

public boolean isUncheckedException(boolean includeSupertype)
T_null is acting as an unchecked exception

Overrides:
isUncheckedException in class TypeBinding
See Also:
TypeBinding.isUncheckedException(boolean)

isWidening

public static final boolean isWidening(int left,
                                       int right)

kind

public int kind()
Overrides:
kind in class TypeBinding
See Also:
Binding.kind()

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

readableName

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

shortReadableName

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

sourceName

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

toString

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