public final class LocalTypeBinding extends NestedTypeBinding
  • Field Details

    • enclosingCase

      public CaseStatement enclosingCase
    • sourceStart

      public int sourceStart
    • enclosingMethod

      public MethodBinding enclosingMethod
  • Constructor Details

  • Method Details

    • addInnerEmulationDependent

      public void addInnerEmulationDependent(BlockScope dependentScope, boolean wasEnclosingInstanceSupplied)
    • enclosingMethod

      public MethodBinding enclosingMethod()
      Overrides:
      enclosingMethod in class TypeBinding
    • 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
    • clone

      public TypeBinding clone(TypeBinding outerType)
      Description copied from class: TypeBinding
      Virtual copy constructor: a copy is made of the receiver's entire instance state and then suitably parameterized by the arguments to the clone operation as seen fit by each type. Parameters may not make sense for every type in the hierarchy, in which case they are silently ignored. A type may choose to retain a copy of the prototype for reference.
      Overrides:
      clone in class SourceTypeBinding
    • hashCode

      public int hashCode()
      Overrides:
      hashCode 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)
    • transferConstantPoolNameTo

      public void transferConstantPoolNameTo(TypeBinding substType)
    • 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