-
Returns the list of Tokens.Token
s for source code between the given positions, offset by the
start position.
Returns the list of Tokens.Token
s for the given JCTree
, offset by the start position
of the tree within the overall source.
Returns the list of Tokens.Token
s for the given JCTree
.
-
ErrorProneTokens.getTokens(String source,
int offset,
com.sun.tools.javac.util.Context context)
Returns the tokens for the given source text, including comments, indicating the offset of the
source within the overall file.
ErrorProneTokens.getTokens(String source,
com.sun.tools.javac.util.Context context)
Returns the tokens for the given source text, including comments.