org.eclipse.jdt.internal.compiler.lookup
Class LocalTypeBinding

java.lang.Object
  extended by org.eclipse.jdt.internal.compiler.lookup.Binding
      extended by org.eclipse.jdt.internal.compiler.lookup.TypeBinding
          extended by org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding
              extended by org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding
                  extended by org.eclipse.jdt.internal.compiler.lookup.NestedTypeBinding
                      extended by org.eclipse.jdt.internal.compiler.lookup.LocalTypeBinding
All Implemented Interfaces:
IDependent

public final class LocalTypeBinding
extends NestedTypeBinding


Field Summary
 CaseStatement enclosingCase
           
 MethodBinding enclosingMethod
           
 ArrayBinding[] localArrayBindings
           
 int sourceStart
           
 
Fields inherited from class org.eclipse.jdt.internal.compiler.lookup.NestedTypeBinding
enclosingInstances, enclosingInstancesSlotSize, enclosingType, outerLocalVariables, outerLocalVariablesSlotSize
 
Fields inherited from class org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding
CLASS_LITERAL_EMUL, FIELD_EMUL, memberTypes, METHOD_EMUL, RECEIVER_TYPE_EMUL, scope, superclass, superInterfaces, typeVariables
 
Fields inherited from class org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding
compoundName, fPackage, LUB_GENERIC, modifiers, sourceName
 
Fields inherited from class org.eclipse.jdt.internal.compiler.lookup.TypeBinding
BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, id, INT, LONG, NULL, SHORT, tagBits, VOID
 
Fields inherited from class 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
 
Fields inherited from interface org.eclipse.jdt.internal.compiler.env.IDependent
JAR_FILE_ENTRY_SEPARATOR
 
Constructor Summary
LocalTypeBinding(ClassScope scope, SourceTypeBinding enclosingType, CaseStatement switchCase)
           
 
Method Summary
 void addInnerEmulationDependent(BlockScope dependentScope, boolean wasEnclosingInstanceSupplied)
           
 char[] computeUniqueKey(boolean isLeaf)
           
 char[] constantPoolName()
          Answer the receiver's constant pool name.
 char[] genericTypeSignature()
          Answer the receiver classfile signature.
 char[] readableName()
           
 void setAsMemberType()
           
 void setConstantPoolName(char[] computedConstantPoolName)
           
 char[] shortReadableName()
           
 char[] signature()
          Answer the receiver classfile signature.
 char[] sourceName()
           
 java.lang.String toString()
           
 void updateInnerEmulationDependents()
           
 
Methods inherited from class org.eclipse.jdt.internal.compiler.lookup.NestedTypeBinding
addSyntheticArgument, addSyntheticArgument, addSyntheticArgumentAndField, addSyntheticArgumentAndField, computeSyntheticArgumentSlotSizes, enclosingType, getSyntheticArgument, getSyntheticArgument, syntheticEnclosingInstances, syntheticEnclosingInstanceTypes, syntheticOuterLocalVariables
 
Methods inherited from class org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding
addSyntheticBridgeMethod, addSyntheticEnumMethod, addSyntheticFieldForAssert, addSyntheticFieldForClassLiteral, addSyntheticFieldForEnumValues, addSyntheticFieldForInnerclass, addSyntheticFieldForInnerclass, addSyntheticFieldForSwitchEnum, addSyntheticMethod, addSyntheticMethod, addSyntheticMethodForSwitchEnum, fields, genericSignature, getAnnotationTagBits, getDefaultAbstractMethods, getExactConstructor, getExactMethod, getField, getMethods, getSyntheticBridgeMethod, getSyntheticField, getSyntheticField, getUpdatedFieldBinding, getUpdatedMethodBinding, hasMemberTypes, initializeDeprecatedAnnotationTagBits, isEquivalentTo, isGenericType, kind, memberTypes, methods, setFields, setMethods, sourceEnd, sourceStart, superclass, superInterfaces, syntheticFields, syntheticMethods, typeVariables
 
Methods inherited from class org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding
availableFields, availableMethods, binarySearch, binarySearch, canBeInstantiated, canBeSeenBy, canBeSeenBy, canBeSeenBy, computeGenericTypeSignature, computeId, debugName, depth, detectAnnotationCycle, enclosingTypeAt, enumConstantCount, fieldCount, findSuperTypeErasingTo, getAccessFlags, getAnnotations, getFileName, getMemberType, getPackage, getTypeVariable, hashCode, hasIncompatibleSuperType, hasRestrictedAccess, implementsInterface, isAbstract, isAnnotationType, isBinaryBinding, isClass, isCompatibleWith, isDefault, isDeprecated, isEnum, isFinal, isHierarchyBeingConnected, isInterface, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSuperclassOf, isUncheckedException, isUsed, isViewedAsDeprecated, outermostEnclosingType, qualifiedSourceName, setAnnotations, sortFields, sortMethods
 
Methods inherited from class org.eclipse.jdt.internal.compiler.lookup.TypeBinding
capture, collectSubstitutes, dimensions, erasure, findSuperTypeWithSameErasure, genericCast, isAnonymousType, isArrayType, isBaseType, isBoundParameterizedType, isCapture, isHierarchyInconsistent, isIntersectingWith, isIntersectionType, isLocalType, isMemberType, isNestedType, isNumericType, isParameterizedType, isParameterizedWithOwnVariables, isProvablyDistinctFrom, isRawType, isReifiable, isTypeArgumentContainedBy, isTypeArgumentIntersecting, isTypeVariable, isUnboundWildcard, isWildcard, leafComponentType, needsUncheckedConversion, qualifiedPackageName, swapUnresolved, wellKnownType
 
Methods inherited from class org.eclipse.jdt.internal.compiler.lookup.Binding
computeUniqueKey, isValidBinding, problemId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

localArrayBindings

public ArrayBinding[] localArrayBindings

enclosingCase

public CaseStatement enclosingCase

sourceStart

public int sourceStart

enclosingMethod

public MethodBinding enclosingMethod
Constructor Detail

LocalTypeBinding

public LocalTypeBinding(ClassScope scope,
                        SourceTypeBinding enclosingType,
                        CaseStatement switchCase)
Method Detail

addInnerEmulationDependent

public void addInnerEmulationDependent(BlockScope dependentScope,
                                       boolean wasEnclosingInstanceSupplied)

computeUniqueKey

public char[] computeUniqueKey(boolean isLeaf)
Overrides:
computeUniqueKey in class SourceTypeBinding

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'

Overrides:
constantPoolName in class ReferenceBinding

genericTypeSignature

public char[] genericTypeSignature()
Description copied from class: TypeBinding
Answer the receiver classfile signature. Arrays & base types do not distinguish between signature() & constantPoolName(). NOTE: This method should only be used during/after code gen.

Overrides:
genericTypeSignature in class SourceTypeBinding
See Also:
TypeBinding.genericTypeSignature()

readableName

public char[] readableName()
Overrides:
readableName in class ReferenceBinding

shortReadableName

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

setAsMemberType

public void setAsMemberType()

setConstantPoolName

public void setConstantPoolName(char[] computedConstantPoolName)

signature

public char[] signature()
Description copied from class: TypeBinding
Answer the receiver classfile signature. Arrays & base types do not distinguish between signature() & constantPoolName(). NOTE: This method should only be used during/after code gen.

Overrides:
signature in class ReferenceBinding

sourceName

public char[] sourceName()
Overrides:
sourceName in class ReferenceBinding

toString

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

updateInnerEmulationDependents

public void updateInnerEmulationDependents()
Overrides:
updateInnerEmulationDependents in class NestedTypeBinding