Package org.kie.memorycompiler.jdknative
Class NativeCompilationProblem
- java.lang.Object
-
- org.kie.memorycompiler.jdknative.NativeCompilationProblem
-
- All Implemented Interfaces:
CompilationProblem
public class NativeCompilationProblem extends Object implements CompilationProblem
-
-
Constructor Summary
Constructors Constructor Description NativeCompilationProblem(Diagnostic<JavaFileObject> problem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetEndColumn()intgetEndLine()position of where the problem stops in the source codeStringgetFileName()name of the file where the problem occurredStringgetMessage()the description of the problemintgetStartColumn()intgetStartLine()position of where the problem starts in the source codebooleanisError()is the problem an error and compilation cannot continue or just a warning and compilation can proceedStringtoString()
-
-
-
Constructor Detail
-
NativeCompilationProblem
public NativeCompilationProblem(Diagnostic<JavaFileObject> problem)
-
-
Method Detail
-
isError
public boolean isError()
Description copied from interface:CompilationProblemis the problem an error and compilation cannot continue or just a warning and compilation can proceed- Specified by:
isErrorin interfaceCompilationProblem- Returns:
-
getFileName
public String getFileName()
Description copied from interface:CompilationProblemname of the file where the problem occurred- Specified by:
getFileNamein interfaceCompilationProblem- Returns:
-
getStartLine
public int getStartLine()
Description copied from interface:CompilationProblemposition of where the problem starts in the source code- Specified by:
getStartLinein interfaceCompilationProblem- Returns:
-
getStartColumn
public int getStartColumn()
- Specified by:
getStartColumnin interfaceCompilationProblem
-
getEndLine
public int getEndLine()
Description copied from interface:CompilationProblemposition of where the problem stops in the source code- Specified by:
getEndLinein interfaceCompilationProblem- Returns:
-
getEndColumn
public int getEndColumn()
- Specified by:
getEndColumnin interfaceCompilationProblem
-
getMessage
public String getMessage()
Description copied from interface:CompilationProblemthe description of the problem- Specified by:
getMessagein interfaceCompilationProblem- Returns:
-
-