org.eclipse.jdt.internal.codeassist
Class CompletionEngine.CompletionProblemFactory

java.lang.Object
  extended by org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory
      extended by org.eclipse.jdt.internal.codeassist.CompletionEngine.CompletionProblemFactory
All Implemented Interfaces:
IProblemFactory
Enclosing class:
CompletionEngine

public class CompletionEngine.CompletionProblemFactory
extends DefaultProblemFactory


Field Summary
 boolean hasAllowedProblems
           
 boolean hasForbiddenProblems
           
 
Fields inherited from class org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory
messageTemplates
 
Constructor Summary
CompletionEngine.CompletionProblemFactory(java.util.Locale loc)
           
 
Method Summary
 CategorizedProblem createProblem(char[] originatingFileName, int problemId, java.lang.String[] problemArguments, int elaborationId, java.lang.String[] messageArguments, int severity, int start, int end, int lineNumber, int columnNumber)
          Answer a new IProblem created according to the parameters values.
 CategorizedProblem createProblem(char[] originatingFileName, int problemId, java.lang.String[] problemArguments, java.lang.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 occured
 void startCheckingProblems()
           
 void stopCheckingProblems()
           
 
Methods inherited from class org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory
getLocale, getLocalizedMessage, getLocalizedMessage, loadMessageTemplates, localizedMessage, setLocale
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hasForbiddenProblems

public boolean hasForbiddenProblems

hasAllowedProblems

public boolean hasAllowedProblems
Constructor Detail

CompletionEngine.CompletionProblemFactory

public CompletionEngine.CompletionProblemFactory(java.util.Locale loc)
Method Detail

createProblem

public CategorizedProblem createProblem(char[] originatingFileName,
                                        int problemId,
                                        java.lang.String[] problemArguments,
                                        java.lang.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

Specified by:
createProblem in interface IProblemFactory
Overrides:
createProblem in class DefaultProblemFactory
Parameters:
originatingFileName - char[]
problemId - int
problemArguments - String[]
messageArguments - String[]
severity - int
start - int
end - int
lineNumber - int
Returns:
CategorizedProblem

createProblem

public CategorizedProblem createProblem(char[] originatingFileName,
                                        int problemId,
                                        java.lang.String[] problemArguments,
                                        int elaborationId,
                                        java.lang.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 interface IProblemFactory
Overrides:
createProblem in class DefaultProblemFactory
Parameters:
originatingFileName - the name of the file from which the problem is originated
problemId - the problem id
problemArguments - the fully qualified arguments recorded inside the problem
elaborationId - 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 problem
start - the start position of the problem
end - the end position of the problem
lineNumber - the line on which the problem occurred
Returns:
a new IProblem created according to the parameters values.

startCheckingProblems

public void startCheckingProblems()

stopCheckingProblems

public void stopCheckingProblems()