| Modifier and Type | Class and Description |
|---|---|
| public static enum | TypeUtils.
The origin of the modifier bits. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | appendModifierKeyword(final StringBuilder
the buf buf, final String the modifier keyword modifierKeyword)Append a space if necessary (if not at the beginning of the buffer, and the last character is not already a space), then append a modifier keyword. |
| public static boolean | Returns: true if at least one identifier character was parsed.The parser. parser, final boolean If true, stop parsing when the first '$' is hit. stopAtDollarSign, final boolean If true, stop parsing when the first '.' is hit. stopAtDot)Parse a Java identifier, replacing '/' with '.'. |
| public static void | modifiersToString(final int
The field or method modifiers. modifiers, final TypeUtils.The modifierType,ModifierType these modifiers apply to.for methods, true if this is a default method (else ignored). isDefault, final StringBuilder The buffer to write the result into. buf)Convert modifiers into a string representation, e.g. "public static final". |
| TypeUtils | back to summary |
|---|---|
| private TypeUtils() Constructor. | |
| appendModifierKeyword | back to summary |
|---|---|
| private static void appendModifierKeyword(final StringBuilder buf, final String modifierKeyword) Append a space if necessary (if not at the beginning of the buffer, and the last character is not already a space), then append a modifier keyword.
| |
| getIdentifierToken | back to summary |
|---|---|
| public static boolean getIdentifierToken(final Parser parser, final boolean stopAtDollarSign, final boolean stopAtDot) Parse a Java identifier, replacing '/' with '.'. Appends the identifier to the token buffer in the parser.
| |
| modifiersToString | back to summary |
|---|---|
| public static void modifiersToString(final int modifiers, final TypeUtils. Convert modifiers into a string representation, e.g. "public static final".
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final TypeUtils. | CLASS
The modifier bits apply to a class. |
| public static final TypeUtils. | FIELD
The modifier bits apply to a field. |
| public static final TypeUtils. | METHOD
The modifier bits apply to a method. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static TypeUtils. | |
| public static TypeUtils. |
| CLASS | back to summary |
|---|---|
| public static final TypeUtils. The modifier bits apply to a class. | |
| FIELD | back to summary |
|---|---|
| public static final TypeUtils. The modifier bits apply to a field. | |
| METHOD | back to summary |
|---|---|
| public static final TypeUtils. The modifier bits apply to a method. | |
| ModifierType | back to summary |
|---|---|
| private ModifierType() | |
| valueOf | back to summary |
|---|---|
| public static TypeUtils. | |
| values | back to summary |
|---|---|
| public static TypeUtils. | |