public interface IProblemLocation
Note: this interface is not intended to be implemented.
Modifier and Type | Method and Description |
---|---|
ASTNode |
getCoveredNode(CompilationUnit astRoot)
Convenience method to evaluate the AST node covered by this problem.
|
ASTNode |
getCoveringNode(CompilationUnit astRoot)
Convenience method to evaluate the AST node covering this problem.
|
int |
getLength()
Returns the length of the problem.
|
String |
getMarkerType()
Returns the marker type of this problem.
|
int |
getOffset()
Returns the start offset of the problem.
|
String[] |
getProblemArguments()
Returns the original arguments recorded into the problem.
|
int |
getProblemId()
Returns the id of problem.
|
boolean |
isError()
Returns if the problem has error severity.
|
int getOffset()
int getLength()
String getMarkerType()
int getProblemId()
IProblem
for id definitions for problems of type
org.eclipse.jdt.core.problem
and org.eclipse.jdt.core.task
.String[] getProblemArguments()
boolean isError()
true
if the problem has error severityASTNode getCoveringNode(CompilationUnit astRoot)
astRoot
- The root node of the current ASTASTNode getCoveredNode(CompilationUnit astRoot)
astRoot
- The root node of the current AST
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.