Class TypeProblem

All Implemented Interfaces:
IProblem

public class TypeProblem extends JavaProblem
Problems used by the TypeFileProcessor.
Author:
Christopher Mindus
  • Field Details

  • Constructor Details

    • TypeProblem

      public TypeProblem(int category, int problem, String message, int start, int end, int line)
      Constructor without quick fixes.
  • Method Details

    • getMarkerType

      public String getMarkerType()
      Returns the marker type associated to this problem, if it gets persisted into a marker by the JavaBuilder Standard Java problems are associated to marker type "org.eclipse.jdt.core.problem"). Note: problem markers are expected to extend "org.eclipse.core.resources.problemmarker" marker type.
      Specified by:
      getMarkerType in class JavaProblem
      Returns:
      the type of the marker which would be associated to the problem
    • isError

      public boolean isError()
      Checks the severity to see if the Error bit is set.
      Returns:
      true if the Error bit is set for the severity, false otherwise
    • isWarning

      public boolean isWarning()
      Checks the severity to see if the Error bit is not set.
      Returns:
      true if the Error bit is not set for the severity, false otherwise