This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| public static class | Tokens.
This is the class representing a javac token. |
| public static enum | Tokens.
This enum defines all tokens used by the javac scanner. |
| Modifier and Type | Field and Description |
|---|---|
| public static final Tokens. | |
| private Map | keywords
Keyword array. |
| private final Names | |
| public static final Context. |
| Modifier and Type | Method and Description |
|---|---|
| public static Tokens | |
| pack-priv Tokens. | lookupKind(Name name)
Create a new token given a name; if the name corresponds to a token name, a new token of the corresponding kind is returned; otherwise, an identifier token is returned. |
| pack-priv Tokens. |