Interface IProblemBinding

All Superinterfaces:
Cloneable, org.eclipse.core.runtime.IAdaptable, IBinding, IScope, ISemanticProblem, IType

public interface IProblemBinding extends IBinding, IScope, IType, ISemanticProblem
Interface for problem bindings.
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.
  • Field Details

    • SEMANTIC_NAME_NOT_FOUND

      static final int SEMANTIC_NAME_NOT_FOUND
      See Also:
    • SEMANTIC_INVALID_OVERLOAD

      static final int SEMANTIC_INVALID_OVERLOAD
      See Also:
    • SEMANTIC_INVALID_USING

      static final int SEMANTIC_INVALID_USING
      See Also:
    • SEMANTIC_AMBIGUOUS_LOOKUP

      static final int SEMANTIC_AMBIGUOUS_LOOKUP
      See Also:
    • SEMANTIC_INVALID_TYPE

      static final int SEMANTIC_INVALID_TYPE
      See Also:
    • SEMANTIC_CIRCULAR_INHERITANCE

      static final int SEMANTIC_CIRCULAR_INHERITANCE
      See Also:
    • SEMANTIC_DEFINITION_NOT_FOUND

      static final int SEMANTIC_DEFINITION_NOT_FOUND
      See Also:
    • SEMANTIC_KNR_PARAMETER_DECLARATION_NOT_FOUND

      static final int SEMANTIC_KNR_PARAMETER_DECLARATION_NOT_FOUND
      See Also:
    • SEMANTIC_LABEL_STATEMENT_NOT_FOUND

      static final int SEMANTIC_LABEL_STATEMENT_NOT_FOUND
      See Also:
    • SEMANTIC_BAD_SCOPE

      static final int SEMANTIC_BAD_SCOPE
      See Also:
    • SEMANTIC_INVALID_REDEFINITION

      static final int SEMANTIC_INVALID_REDEFINITION
      See Also:
    • SEMANTIC_INVALID_REDECLARATION

      static final int SEMANTIC_INVALID_REDECLARATION
      See Also:
    • SEMANTIC_MEMBER_DECLARATION_NOT_FOUND

      static final int SEMANTIC_MEMBER_DECLARATION_NOT_FOUND
      See Also:
    • SEMANTIC_RECURSION_IN_LOOKUP

      static final int SEMANTIC_RECURSION_IN_LOOKUP
      See Also:
    • SEMANTIC_INVALID_TEMPLATE_ARGUMENTS

      static final int SEMANTIC_INVALID_TEMPLATE_ARGUMENTS
      Since:
      5.1
      See Also:
    • SEMANTIC_INVALID_STRUCTURED_BINDING_INITIALIZER

      static final int SEMANTIC_INVALID_STRUCTURED_BINDING_INITIALIZER
      Since:
      8.1
      See Also:
    • SEMANTIC_INVALID_TEMPLATE_INSTANTIATION

      static final int SEMANTIC_INVALID_TEMPLATE_INSTANTIATION
      Since:
      8.4
      See Also:
    • LAST_PROBLEM

      @Deprecated static final int LAST_PROBLEM
      Deprecated.
      There may be additional problems.
      See Also:
      Restriction:
      This field is not intended to be referenced by clients.
  • Method Details

    • getASTNode

      IASTNode getASTNode()
      Returns the AST node that this problem was created for
    • getFileName

      String getFileName()
      Returns the file name this problem occurred in, or null if it is unknown.
    • getLineNumber

      int getLineNumber()
      Returns the line number for this problem, or -1 if it is unknown.
    • getCandidateBindings

      IBinding[] getCandidateBindings()
      Returns bindings that were considered when resolving the node corresponding to this problem binding, but rejected for some reason.
      Returns:
      an array of candidate bindings.
      Since:
      5.1