public class DOType extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DOType.Builder |
class |
DOType.DOClassBuilder |
class |
DOType.DOEnumBuilder |
class |
DOType.DOInterfaceBuilder |
static class |
DOType.Kind |
| Modifier and Type | Method and Description |
|---|---|
String |
asString(String indent) |
List<String> |
getDeclaredFieldNames()
Answer a list of all field names declared by this type.
|
List<DOField> |
getDeclaredFields()
Answer the field- (attribute) definitions declared by this type.
|
Object |
getEnumValue(String name)
Answer an enum value with the given name.
|
Object[] |
getEnumValues()
Answer the list of enum values of this enum.
|
DOField |
getFieldByIndex(int index)
Answer the field at the given index in the list of all fields.
|
DOField |
getFieldByName(String fieldName)
Answer the field with the given name.
|
List<String> |
getFieldNames()
Answer a list of all field names declared by this type and all it's super types.
|
List<DOField> |
getFields()
Answer the field- (attribute) definitions declared by this type and all it's super types.
|
int |
getIndexOfField(String fieldName)
Answer the index of the field with the given name within the list of all fields.
|
List<DOType> |
getInterfaces() |
DOType.Kind |
getKind()
Answer the kind of this type which can be CLASS | ABSTRACT_CLASS | INTERFACE | ENUM
|
String |
getName()
Answer the fully qualified name of this type e.g.
|
DOType |
getSuperType() |
boolean |
isBuildIn() |
public String getName()
public List<DOField> getDeclaredFields()
public List<DOField> getFields()
public List<String> getDeclaredFieldNames()
public List<String> getFieldNames()
public DOField getFieldByIndex(int index)
index - public int getIndexOfField(String fieldName)
fieldName - public DOField getFieldByName(String fieldName)
fieldName - public DOType getSuperType()
public DOType.Kind getKind()
public Object getEnumValue(String name)
name - public Object[] getEnumValues()
public boolean isBuildIn()
Copyright © 2016. All rights reserved.