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

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
Direct Known Subclasses:
LocalTypeBinding, MemberTypeBinding

public class NestedTypeBinding
extends SourceTypeBinding


Field Summary
 SyntheticArgumentBinding[] enclosingInstances
           
 SourceTypeBinding enclosingType
           
 SyntheticArgumentBinding[] outerLocalVariables
           
 
Fields inherited from class org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding
memberTypes, 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, 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
 
Constructor Summary
NestedTypeBinding(char[][] typeName, ClassScope scope, SourceTypeBinding enclosingType)
           
 
Method Summary
 SyntheticArgumentBinding addSyntheticArgument(LocalVariableBinding actualOuterLocalVariable)
           
 SyntheticArgumentBinding addSyntheticArgument(ReferenceBinding targetEnclosingType)
           
 SyntheticArgumentBinding addSyntheticArgumentAndField(LocalVariableBinding actualOuterLocalVariable)
           
 SyntheticArgumentBinding addSyntheticArgumentAndField(ReferenceBinding targetEnclosingType)
           
 ReferenceBinding enclosingType()
           
 int getEnclosingInstancesSlotSize()
           
 int getOuterLocalVariablesSlotSize()
           
 SyntheticArgumentBinding getSyntheticArgument(LocalVariableBinding actualOuterLocalVariable)
           
 SyntheticArgumentBinding getSyntheticArgument(ReferenceBinding targetEnclosingType, boolean onlyExactMatch)
           
 SyntheticArgumentBinding[] syntheticEnclosingInstances()
           
 ReferenceBinding[] syntheticEnclosingInstanceTypes()
           
 SyntheticArgumentBinding[] syntheticOuterLocalVariables()
           
 void updateInnerEmulationDependents()
           
 
Methods inherited from class org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding
addSyntheticBridgeMethod, addSyntheticBridgeMethod, addSyntheticEnumMethod, addSyntheticFieldForAssert, addSyntheticFieldForClassLiteral, addSyntheticFieldForEnumValues, addSyntheticFieldForInnerclass, addSyntheticFieldForInnerclass, addSyntheticFieldForSwitchEnum, addSyntheticMethod, addSyntheticMethod, addSyntheticMethodForEnumInitialization, addSyntheticMethodForSwitchEnum, computeUniqueKey, fields, genericSignature, genericTypeSignature, 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, toString, typeVariables, unResolvedFields
 
Methods inherited from class org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding
availableFields, availableMethods, binarySearch, binarySearch, canBeInstantiated, canBeSeenBy, canBeSeenBy, canBeSeenBy, computeGenericTypeSignature, computeId, constantPoolName, 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, readableName, setAnnotations, shortReadableName, signature, sortFields, sortMethods, sourceName
 
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
 
Methods inherited from class org.eclipse.jdt.internal.compiler.lookup.Binding
computeUniqueKey, isParameter, isValidBinding, isVolatile, problemId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

enclosingType

public SourceTypeBinding enclosingType

enclosingInstances

public SyntheticArgumentBinding[] enclosingInstances

outerLocalVariables

public SyntheticArgumentBinding[] outerLocalVariables
Constructor Detail

NestedTypeBinding

public NestedTypeBinding(char[][] typeName,
                         ClassScope scope,
                         SourceTypeBinding enclosingType)
Method Detail

addSyntheticArgument

public SyntheticArgumentBinding addSyntheticArgument(LocalVariableBinding actualOuterLocalVariable)

addSyntheticArgument

public SyntheticArgumentBinding addSyntheticArgument(ReferenceBinding targetEnclosingType)

addSyntheticArgumentAndField

public SyntheticArgumentBinding addSyntheticArgumentAndField(LocalVariableBinding actualOuterLocalVariable)

addSyntheticArgumentAndField

public SyntheticArgumentBinding addSyntheticArgumentAndField(ReferenceBinding targetEnclosingType)

enclosingType

public ReferenceBinding enclosingType()
Overrides:
enclosingType in class TypeBinding

getEnclosingInstancesSlotSize

public int getEnclosingInstancesSlotSize()
Overrides:
getEnclosingInstancesSlotSize in class ReferenceBinding
Returns:
the enclosingInstancesSlotSize

getOuterLocalVariablesSlotSize

public int getOuterLocalVariablesSlotSize()
Overrides:
getOuterLocalVariablesSlotSize in class ReferenceBinding
Returns:
the outerLocalVariablesSlotSize

getSyntheticArgument

public SyntheticArgumentBinding getSyntheticArgument(LocalVariableBinding actualOuterLocalVariable)

getSyntheticArgument

public SyntheticArgumentBinding getSyntheticArgument(ReferenceBinding targetEnclosingType,
                                                     boolean onlyExactMatch)

syntheticEnclosingInstances

public SyntheticArgumentBinding[] syntheticEnclosingInstances()

syntheticEnclosingInstanceTypes

public ReferenceBinding[] syntheticEnclosingInstanceTypes()
Overrides:
syntheticEnclosingInstanceTypes in class ReferenceBinding

syntheticOuterLocalVariables

public SyntheticArgumentBinding[] syntheticOuterLocalVariables()
Overrides:
syntheticOuterLocalVariables in class ReferenceBinding

updateInnerEmulationDependents

public void updateInnerEmulationDependents()


Copyright © 2012. All Rights Reserved.