public class NativeCompilationProblem extends Object implements CompilationProblem
| Constructor and Description |
|---|
NativeCompilationProblem(Diagnostic<JavaFileObject> problem) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEndColumn() |
int |
getEndLine()
position of where the problem stops in the source code
|
String |
getFileName()
name of the file where the problem occurred
|
String |
getMessage()
the description of the problem
|
int |
getStartColumn() |
int |
getStartLine()
position of where the problem starts in the source code
|
boolean |
isError()
is the problem an error and compilation cannot continue
or just a warning and compilation can proceed
|
String |
toString() |
public NativeCompilationProblem(Diagnostic<JavaFileObject> problem)
public boolean isError()
CompilationProblemisError in interface CompilationProblempublic String getFileName()
CompilationProblemgetFileName in interface CompilationProblempublic int getStartLine()
CompilationProblemgetStartLine in interface CompilationProblempublic int getStartColumn()
getStartColumn in interface CompilationProblempublic int getEndLine()
CompilationProblemgetEndLine in interface CompilationProblempublic int getEndColumn()
getEndColumn in interface CompilationProblempublic String getMessage()
CompilationProblemgetMessage in interface CompilationProblemCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.