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
All Implemented Interfaces:
IDependent
Direct Known Subclasses:
LocalTypeBinding, MemberTypeBinding

public class NestedTypeBinding
extends SourceTypeBinding


Field Summary
 SyntheticArgumentBinding[] enclosingInstances
           
 int enclosingInstancesSlotSize
           
 SourceTypeBinding enclosingType
           
 SyntheticArgumentBinding[] outerLocalVariables
           
 int 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
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)
           
 void computeSyntheticArgumentSlotSizes()
          Compute the resolved positions for all the synthetic arguments
 ReferenceBinding enclosingType()
           
 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, addSyntheticEnumMethod, addSyntheticFieldForAssert, addSyntheticFieldForClassLiteral, addSyntheticFieldForEnumValues, addSyntheticFieldForInnerclass, addSyntheticFieldForInnerclass, addSyntheticFieldForSwitchEnum, addSyntheticMethod, addSyntheticMethod, addSyntheticMethodForSwitchEnum, computeUniqueKey, fields, genericSignature, genericTypeSignature, 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, toString, typeVariables
 
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, 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, readableName, setAnnotations, shortReadableName, signature, sortFields, sortMethods, sourceName
 
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

enclosingType

public SourceTypeBinding enclosingType

enclosingInstances

public SyntheticArgumentBinding[] enclosingInstances

outerLocalVariables

public SyntheticArgumentBinding[] outerLocalVariables

enclosingInstancesSlotSize

public int enclosingInstancesSlotSize

outerLocalVariablesSlotSize

public int outerLocalVariablesSlotSize
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)

computeSyntheticArgumentSlotSizes

public final void computeSyntheticArgumentSlotSizes()
Compute the resolved positions for all the synthetic arguments


enclosingType

public ReferenceBinding enclosingType()
Overrides:
enclosingType in class TypeBinding

getSyntheticArgument

public SyntheticArgumentBinding getSyntheticArgument(LocalVariableBinding actualOuterLocalVariable)

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()

getSyntheticArgument

public SyntheticArgumentBinding getSyntheticArgument(ReferenceBinding targetEnclosingType,
                                                     boolean onlyExactMatch)