Class ProblemFactory
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory
org.aspectj.org.eclipse.jdt.internal.core.builder.ProblemFactory
- All Implemented Interfaces:
IProblemFactory
-
Field Summary
Fields inherited from class DefaultProblemFactory
messageTemplates -
Method Summary
Methods inherited from class DefaultProblemFactory
createProblem, createProblem, getLocale, getLocalizedMessage, getLocalizedMessage, loadMessageTemplates, localizedMessage, setLocaleModifier and TypeMethodDescriptioncreateProblem(char[] originatingFileName, int problemId, String[] problemArguments, int elaborationId, String[] messageArguments, int severity, int startPosition, int endPosition, int lineNumber, int columnNumber) Answer a new IProblem created according to the parameters values.createProblem(char[] originatingFileName, int problemId, String[] problemArguments, String[] messageArguments, int severity, int startPosition, int endPosition, int lineNumber, int columnNumber) Answer a new IProblem created according to the parameters value originatingFileName the name of the file name from which the problem is originated problemId the problem id problemArguments the fully qualified arguments recorded inside the problem messageArguments the arguments needed to set the error message (shorter names than problemArguments ones) severity the severity of the problem startPosition the starting position of the problem endPosition the end position of the problem lineNumber the line on which the problem occuredAnswer the locale used to retrieve the error messagesfinal StringgetLocalizedMessage(int id, int elaborationId, String[] problemArguments) Inject the supplied message arguments into a localized template elaborated from the supplied problem id and an optional elaboration id and return the resulting message.final StringgetLocalizedMessage(int id, String[] problemArguments) static HashtableOfIntThis method initializes the MessageTemplates class variable according to the current Locale.final StringlocalizedMessage(CategorizedProblem problem) void
-
Method Details
-
getProblemFactory
-