org.eclipse.jdt.internal.compiler.lookup
Class LocalTypeBinding
java.lang.Object
org.eclipse.jdt.internal.compiler.lookup.Binding
org.eclipse.jdt.internal.compiler.lookup.TypeBinding
org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding
org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding
org.eclipse.jdt.internal.compiler.lookup.NestedTypeBinding
org.eclipse.jdt.internal.compiler.lookup.LocalTypeBinding
- All Implemented Interfaces:
- IDependent
public final class LocalTypeBinding
- extends NestedTypeBinding
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 |
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 java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
localArrayBindings
public ArrayBinding[] localArrayBindings
enclosingCase
public CaseStatement enclosingCase
sourceStart
public int sourceStart
enclosingMethod
public MethodBinding enclosingMethod
LocalTypeBinding
public LocalTypeBinding(ClassScope scope,
SourceTypeBinding enclosingType,
CaseStatement switchCase)
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