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
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, INTERSECTION_TYPE, 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, UNINITIALIZED_FIELDS, UNINITIALIZED_METHODS, UNINITIALIZED_REFERENCE_TYPES, VARIABLE, WILDCARD_TYPE |
| Methods inherited from class org.eclipse.jdt.internal.compiler.lookup.NestedTypeBinding |
addSyntheticArgument, addSyntheticArgument, addSyntheticArgumentAndField, addSyntheticArgumentAndField, enclosingType, getEnclosingInstancesSlotSize, getOuterLocalVariablesSlotSize, getSyntheticArgument, getSyntheticArgument, syntheticEnclosingInstances, syntheticEnclosingInstanceTypes, syntheticOuterLocalVariables |
| Methods inherited from class org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding |
addSyntheticBridgeMethod, addSyntheticBridgeMethod, addSyntheticEnumMethod, addSyntheticFieldForAssert, addSyntheticFieldForClassLiteral, addSyntheticFieldForEnumValues, addSyntheticFieldForInnerclass, addSyntheticFieldForInnerclass, addSyntheticFieldForSwitchEnum, addSyntheticMethod, addSyntheticMethod, addSyntheticMethodForEnumInitialization, addSyntheticMethodForSwitchEnum, fields, genericSignature, getAnnotationTagBits, getDefaultAbstractMethods, getExactConstructor, getExactMethod, getField, getMethods, getSyntheticBridgeMethod, getSyntheticField, getSyntheticField, hasMemberTypes, initializeDeprecatedAnnotationTagBits, isEquivalentTo, isGenericType, isHierarchyConnected, kind, memberTypes, methods, resolveTypeFor, resolveTypesFor, retrieveAnnotationHolder, setFields, setMethods, sourceEnd, sourceStart, superclass, superInterfaces, syntheticFields, syntheticMethods, tagIndirectlyAccessibleMembers, typeVariables, unResolvedFields |
| 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, getAccessFlags, getAnnotations, getFileName, getMemberType, getMethods, getPackage, getTypeVariable, hashCode, hasIncompatibleSuperType, hasRestrictedAccess, implementsInterface, isAbstract, isAnnotationType, isBinaryBinding, isClass, isCompatibleWith, isDefault, isDeprecated, isEnum, isFinal, isHierarchyBeingActivelyConnected, isHierarchyBeingConnected, isInterface, isOrEnclosedByPrivateType, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSuperclassOf, isThrowable, isUncheckedException, isUsed, isViewedAsDeprecated, outermostEnclosingType, qualifiedSourceName, setAnnotations, sortFields, sortMethods |
| Methods inherited from class org.eclipse.jdt.internal.compiler.lookup.TypeBinding |
capture, closestMatch, collectMissingTypes, collectSubstitutes, dimensions, erasure, findSuperTypeOriginatingFrom, findSuperTypeOriginatingFrom, genericCast, getErasureCompatibleType, isAnonymousType, isArrayType, isBaseType, isBoundParameterizedType, isCapture, isHierarchyInconsistent, isIntersectionType, isLocalType, isMemberType, isNestedType, isNumericType, isParameterizedType, isParameterizedTypeWithActualArguments, isParameterizedWithOwnVariables, isProvablyDistinct, isRawType, isReifiable, isTypeArgumentContainedBy, isTypeVariable, isUnboundWildcard, isWildcard, leafComponentType, needsUncheckedConversion, original, qualifiedPackageName, swapUnresolved, wellKnownType |
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)
anonymousOriginalSuperType
public ReferenceBinding anonymousOriginalSuperType()
computeUniqueKey
public char[] computeUniqueKey(boolean isLeaf)
- Description copied from class:
ReferenceBinding
- p.X {} -> Lp/X;
- Overrides:
computeUniqueKey in class SourceTypeBinding
constantPoolName
public char[] constantPoolName()
- Description copied from class:
ReferenceBinding
- Answer the receiver's constant pool name.
NOTE: This method should only be used during/after code gen.
- 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()
- Description copied from class:
ReferenceBinding
- Answer the receiver's signature.
NOTE: This method should only be used during/after code gen.
- 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 String toString()
- Overrides:
toString in class SourceTypeBinding
updateInnerEmulationDependents
public void updateInnerEmulationDependents()
- Overrides:
updateInnerEmulationDependents in class NestedTypeBinding
Copyright © 2012. All Rights Reserved.