public class ErrorProneTokens extends Object
Constructor and Description |
---|
ErrorProneTokens(String source,
com.sun.tools.javac.util.Context context) |
Modifier and Type | Method and Description |
---|---|
com.sun.tools.javac.util.Position.LineMap |
getLineMap() |
com.google.common.collect.ImmutableList<ErrorProneToken> |
getTokens() |
static com.google.common.collect.ImmutableList<ErrorProneToken> |
getTokens(String source,
com.sun.tools.javac.util.Context context)
Returns the tokens for the given source text, including comments.
|
public ErrorProneTokens(String source, com.sun.tools.javac.util.Context context)
public com.sun.tools.javac.util.Position.LineMap getLineMap()
public com.google.common.collect.ImmutableList<ErrorProneToken> getTokens()
public static com.google.common.collect.ImmutableList<ErrorProneToken> getTokens(String source, com.sun.tools.javac.util.Context context)
Copyright © 2017. All rights reserved.