|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IProblemLocation
Problem information for quick fix and quick assist processors.
Note: this interface is not intended to be implemented.
Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Method Summary | |
---|---|
ASTNode |
getCoveredNode(JavaScriptUnit astRoot)
Convenience method to evaluate the AST node covered by this problem. |
ASTNode |
getCoveringNode(JavaScriptUnit astRoot)
Convenience method to evaluate the AST node covering this problem. |
int |
getLength()
Returns the length of the problem. |
java.lang.String |
getMarkerType()
Returns the marker type of this problem. |
int |
getOffset()
Returns the start offset of the problem. |
java.lang.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. |
Method Detail |
---|
int getOffset()
int getLength()
java.lang.String getMarkerType()
int getProblemId()
IProblem
for id definitions for problems of type
org.eclipse.wst.jsdt.core.problem
and org.eclipse.wst.jsdt.core.task
.
java.lang.String[] getProblemArguments()
boolean isError()
true
if the problem has error severityASTNode getCoveringNode(JavaScriptUnit astRoot)
astRoot
- The root node of the current AST
ASTNode getCoveredNode(JavaScriptUnit astRoot)
astRoot
- The root node of the current AST
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |