Class ProblemReferenceBinding


public class ProblemReferenceBinding extends ReferenceBinding
  • Constructor Details

    • ProblemReferenceBinding

      public ProblemReferenceBinding(char[][] compoundName, ReferenceBinding closestMatch, int problemReason)
  • Method Details

    • clone

      public TypeBinding clone(TypeBinding enclosingType)
      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 TypeBinding
    • closestMatch

      public TypeBinding closestMatch()
      Description copied from class: TypeBinding
      In case of problems, returns the closest match found. It may not be perfect match, but the result of a best effort to improve fault-tolerance.
      Overrides:
      closestMatch in class TypeBinding
      See Also:
      • invalid reference
        org.eclipse.jdt.internal.compiler.lookup.TypeBinding#closestMatch()
    • closestReferenceMatch

      public ReferenceBinding closestReferenceMatch()
      See Also:
      • invalid reference
        org.eclipse.jdt.internal.compiler.lookup.TypeBinding#closestMatch()
    • superclass

      public ReferenceBinding superclass()
      Overrides:
      superclass in class ReferenceBinding
    • superInterfaces

      public ReferenceBinding[] superInterfaces()
      Overrides:
      superInterfaces in class ReferenceBinding
    • hasTypeBit

      public boolean hasTypeBit(int bit)
      Description copied from class: TypeBinding
      Answer an additional bit characterizing this type, like TypeIds.BitAutoCloseable.
      Overrides:
      hasTypeBit in class TypeBinding
    • problemId

      public int problemId()
      Overrides:
      problemId in class Binding
    • problemReasonString

      public static String problemReasonString(int problemReason)
    • setTypeAnnotations

      public void setTypeAnnotations(AnnotationBinding[] annotations, boolean evalNullAnnotations)
      Overrides:
      setTypeAnnotations in class TypeBinding
    • shortReadableName

      public char[] shortReadableName()
      Overrides:
      shortReadableName in class ReferenceBinding
      See Also:
      • invalid reference
        org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#shortReadableName()
    • sourceName

      public char[] sourceName()
      Overrides:
      sourceName in class ReferenceBinding
    • toString

      public String toString()
      Overrides:
      toString in class Object