public final class EclipseCompilationProblem extends java.lang.Object implements CompilationProblem
| 构造器和说明 |
|---|
EclipseCompilationProblem(org.eclipse.jdt.core.compiler.IProblem pProblem) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getEndColumn() |
int |
getEndLine()
position of where the problem stops in the source code
|
java.lang.String |
getFileName()
name of the file where the problem occurred
|
int |
getId() |
java.lang.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
|
java.lang.String |
toString() |
public EclipseCompilationProblem(org.eclipse.jdt.core.compiler.IProblem pProblem)
public boolean isError()
CompilationProblemisError 在接口中 CompilationProblempublic java.lang.String getFileName()
CompilationProblemgetFileName 在接口中 CompilationProblempublic int getStartLine()
CompilationProblemgetStartLine 在接口中 CompilationProblempublic int getStartColumn()
getStartColumn 在接口中 CompilationProblempublic int getEndLine()
CompilationProblemgetEndLine 在接口中 CompilationProblempublic int getEndColumn()
getEndColumn 在接口中 CompilationProblempublic java.lang.String getMessage()
CompilationProblemgetMessage 在接口中 CompilationProblempublic java.lang.String toString()
toString 在类中 java.lang.Objectpublic int getId()