Alle implementierten Schnittstellen:
IProblem

public class AptProblem extends DefaultProblem
  • Felddetails

    • _referenceContext

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

    • AptProblem

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

    • getCategoryID

      public int getCategoryID()
      Beschreibung aus Klasse kopiert: 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).
      Setzt außer Kraft:
      getCategoryID in Klasse DefaultProblem
      Gibt zurück:
      id - an integer identifying the category of this problem
      Siehe auch:
      • Ungültige Referenz
        org.eclipse.jdt.core.compiler.CategorizedProblem#getCategoryID()
    • getMarkerType

      public String getMarkerType()
      Beschreibung aus Klasse kopiert: DefaultProblem
      Returns the marker type associated to this problem.
      Setzt außer Kraft:
      getMarkerType in Klasse DefaultProblem
      Gibt zurück:
      the type of the marker which would be associated to the problem
      Siehe auch:
      • Ungültige Referenz
        org.eclipse.jdt.core.compiler.CategorizedProblem#getMarkerType()