private static class NPathComplexityCheck.TokenEnd
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
endColumnNo
End column of token.
|
private int |
endLineNo
End line of token.
|
Modifier | Constructor and Description |
---|---|
private |
TokenEnd() |
Modifier and Type | Method and Description |
---|---|
boolean |
isAfter(DetailAST ast)
Checks if saved coordinates located after given token.
|
void |
reset()
Sets end token coordinates to the start of the file.
|
void |
setToken(DetailAST endToken)
Sets end coordinates from given token.
|
private int endLineNo
private int endColumnNo
public void setToken(DetailAST endToken)
endToken
- token.public void reset()
public boolean isAfter(DetailAST ast)
ast
- given token.