org.eclipse.jdt.internal.compiler.lookup
类 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


字段摘要
 CaseStatement enclosingCase
           
 MethodBinding enclosingMethod
           
 ArrayBinding[] localArrayBindings
           
 int sourceStart
           
 
从类 org.eclipse.jdt.internal.compiler.lookup.NestedTypeBinding 继承的字段
enclosingInstances, enclosingType, outerLocalVariables
 
从类 org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding 继承的字段
memberTypes, scope, superclass, superInterfaces, typeVariables
 
从类 org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding 继承的字段
compoundName, fPackage, LUB_GENERIC, modifiers, sourceName
 
从类 org.eclipse.jdt.internal.compiler.lookup.TypeBinding 继承的字段
BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, id, INT, LONG, NULL, SHORT, tagBits, VOID
 
从类 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
 
构造方法摘要
LocalTypeBinding(ClassScope scope, SourceTypeBinding enclosingType, CaseStatement switchCase)
           
 
方法摘要
 void addInnerEmulationDependent(BlockScope dependentScope, boolean wasEnclosingInstanceSupplied)
           
 ReferenceBinding anonymousOriginalSuperType()
           
 char[] computeUniqueKey(boolean isLeaf)
          p.X {} -> Lp/X;
 char[] constantPoolName()
          Answer the receiver's constant pool name.
 char[] genericTypeSignature()
          Answer the receiver classfile signature.
 char[] readableName()
          Answer the receiver's signature.
 void setAsMemberType()
           
 void setConstantPoolName(char[] computedConstantPoolName)
           
 char[] shortReadableName()
           
 char[] signature()
          Answer the receiver classfile signature.
 char[] sourceName()
           
 String toString()
           
 void updateInnerEmulationDependents()
           
 
从类 org.eclipse.jdt.internal.compiler.lookup.NestedTypeBinding 继承的方法
addSyntheticArgument, addSyntheticArgument, addSyntheticArgumentAndField, addSyntheticArgumentAndField, enclosingType, getEnclosingInstancesSlotSize, getOuterLocalVariablesSlotSize, getSyntheticArgument, getSyntheticArgument, syntheticEnclosingInstances, syntheticEnclosingInstanceTypes, syntheticOuterLocalVariables
 
从类 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
 
从类 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
 
从类 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
 
从类 org.eclipse.jdt.internal.compiler.lookup.Binding 继承的方法
computeUniqueKey, isParameter, isValidBinding, isVolatile, problemId
 
从类 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)

anonymousOriginalSuperType

public ReferenceBinding anonymousOriginalSuperType()

computeUniqueKey

public char[] computeUniqueKey(boolean isLeaf)
从类 ReferenceBinding 复制的描述
p.X {} -> Lp/X;

覆盖:
SourceTypeBinding 中的 computeUniqueKey

constantPoolName

public char[] constantPoolName()
从类 ReferenceBinding 复制的描述
Answer the receiver's constant pool name. NOTE: This method should only be used during/after code gen.

覆盖:
ReferenceBinding 中的 constantPoolName

genericTypeSignature

public char[] genericTypeSignature()
从类 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.

覆盖:
SourceTypeBinding 中的 genericTypeSignature
另请参见:
TypeBinding.genericTypeSignature()

readableName

public char[] readableName()
从类 ReferenceBinding 复制的描述
Answer the receiver's signature. NOTE: This method should only be used during/after code gen.

覆盖:
ReferenceBinding 中的 readableName

shortReadableName

public char[] shortReadableName()
覆盖:
ReferenceBinding 中的 shortReadableName

setAsMemberType

public void setAsMemberType()

setConstantPoolName

public void setConstantPoolName(char[] computedConstantPoolName)

signature

public char[] signature()
从类 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.

覆盖:
ReferenceBinding 中的 signature

sourceName

public char[] sourceName()
覆盖:
ReferenceBinding 中的 sourceName

toString

public String toString()
覆盖:
SourceTypeBinding 中的 toString

updateInnerEmulationDependents

public void updateInnerEmulationDependents()
覆盖:
NestedTypeBinding 中的 updateInnerEmulationDependents


Copyright © 2013. All Rights Reserved.