Class CompletionEngine.CompletionProblemFactory
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory
org.aspectj.org.eclipse.jdt.internal.codeassist.CompletionEngine.CompletionProblemFactory
- All Implemented Interfaces:
IProblemFactory
- Enclosing class:
- CompletionEngine
-
Field Summary
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory
messageTemplates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateProblem(char[] originatingFileName, int problemId, String[] problemArguments, int elaborationId, String[] messageArguments, int severity, int start, int end, 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 start, int end, 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 occuredvoid
void
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory
getLocale, getLocalizedMessage, getLocalizedMessage, loadMessageTemplates, localizedMessage, setLocale
-
Field Details
-
hasForbiddenProblems
public boolean hasForbiddenProblems -
hasAllowedProblems
public boolean hasAllowedProblems
-
-
Constructor Details
-
CompletionProblemFactory
-
-
Method Details
-
createProblem
public CategorizedProblem createProblem(char[] originatingFileName, int problemId, String[] problemArguments, int elaborationId, String[] messageArguments, int severity, int start, int end, int lineNumber, int columnNumber)Description copied from interface:IProblemFactory
Answer a new IProblem created according to the parameters values.- Specified by:
createProblem
in interfaceIProblemFactory
- Overrides:
createProblem
in classDefaultProblemFactory
- Parameters:
originatingFileName
- the name of the file from which the problem is originatedproblemId
- the problem idproblemArguments
- the fully qualified arguments recorded inside the problemelaborationId
- the message elaboration id (0 for problems that have no message elaboration)messageArguments
- the arguments needed to set the error message (shorter names than problemArguments ones)severity
- the severity of the problemstart
- the start position of the problemend
- the end position of the problemlineNumber
- the line on which the problem occurred- Returns:
- a new IProblem created according to the parameters values.
-
createProblem
public CategorizedProblem createProblem(char[] originatingFileName, int problemId, String[] problemArguments, String[] messageArguments, int severity, int start, int end, int lineNumber, int columnNumber)Description copied from class:DefaultProblemFactory
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 occured
- Specified by:
createProblem
in interfaceIProblemFactory
- Overrides:
createProblem
in classDefaultProblemFactory
- Parameters:
originatingFileName
- char[]problemId
- intproblemArguments
- String[]messageArguments
- String[]severity
- intstart
- intend
- intlineNumber
- int- Returns:
- CategorizedProblem
-
startCheckingProblems
public void startCheckingProblems() -
stopCheckingProblems
public void stopCheckingProblems()
-