public class TypeReader extends AbstractReader
current, source| Constructor and Description |
|---|
TypeReader(String source) |
| Modifier and Type | Method and Description |
|---|---|
ArrayType |
readArrayType()
Reads the next
ArrayType from source. |
BaseType |
readBaseType()
Reads the next
BaseType from source. |
FieldType |
readFieldType()
Reads the next
FieldType from source. |
ObjectType |
readObjectType()
Reads the next
ObjectType from source. |
PrimitiveType |
readPrimitiveType()
Reads the next
PrimitiveType from source. |
Type |
readType()
Reads the next
Type from source. |
advance, hasNext, peek, previouspublic TypeReader(String source)
public Type readType()
Type from source.IllegalStateException - If the descriptor is invalidpublic FieldType readFieldType()
FieldType from source.IllegalStateException - If the descriptor is invalidpublic ArrayType readArrayType()
ArrayType from source.IllegalStateException - If the descriptor is invalidpublic BaseType readBaseType()
BaseType from source.IllegalStateException - If the descriptor is invalidpublic ObjectType readObjectType()
ObjectType from source.IllegalStateException - If the descriptor is invalidpublic PrimitiveType readPrimitiveType()
PrimitiveType from source.IllegalStateException - If the descriptor is invalid