Class MissingTypeBinding


public class MissingTypeBinding extends BinaryTypeBinding
  • Constructor Details

    • MissingTypeBinding

      public MissingTypeBinding(PackageBinding packageBinding, char[][] compoundName, LookupEnvironment environment)
      Special constructor for constructing proxies of missing types (114349)
  • Method Details

    • 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 BinaryTypeBinding
    • collectMissingTypes

      public List<TypeBinding> collectMissingTypes(List<TypeBinding> missingTypes)
      Description copied from class: TypeBinding
      Iterate through the type components to collect instances of leaf missing types
      Overrides:
      collectMissingTypes in class TypeBinding
      Returns:
      missing types
      See Also:
      • invalid reference
        org.eclipse.jdt.internal.compiler.lookup.TypeBinding#collectMissingTypes(java.util.List)
    • problemId

      public int problemId()
      Missing binary type will answer false to #isValidBinding()
      Overrides:
      problemId in class Binding
      See Also:
      • invalid reference
        org.eclipse.jdt.internal.compiler.lookup.Binding#problemId()
    • setTypeAnnotations

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

      public String toString()
      Overrides:
      toString in class BinaryTypeBinding