All Implemented Interfaces:
IProblem

public class AptProblem extends DefaultProblem
  • Field Details

    • _referenceContext

      public final ReferenceContext _referenceContext
      May be null, if it was not possible to identify problem context
  • Constructor Details

    • AptProblem

      public AptProblem(ReferenceContext referenceContext, char[] originatingFileName, String message, int id, String[] stringArguments, int severity, int startPosition, int endPosition, int line, int column)
  • Method Details

    • getCategoryID

      public int getCategoryID()
      Description copied from class: CategorizedProblem
      Returns an integer identifying the category of this problem. Categories, like problem IDs are defined in the context of some marker type. Custom implementations of CategorizedProblem may choose arbitrary values for problem/category IDs, as long as they are associated with a different marker type. Standard Java problem markers (i.e. marker type is "org.eclipse.jdt.core.problem") carry an attribute "categoryId" persisting the originating problem category ID as defined by this method).
      Overrides:
      getCategoryID in class DefaultProblem
      Returns:
      id - an integer identifying the category of this problem
      See Also:
      CategorizedProblem.getCategoryID()
    • getMarkerType

      public String getMarkerType()
      Description copied from class: DefaultProblem
      Returns the marker type associated to this problem.
      Overrides:
      getMarkerType in class DefaultProblem
      Returns:
      the type of the marker which would be associated to the problem
      See Also:
      CategorizedProblem.getMarkerType()