| Modifier and Type | Class and Description |
|---|---|
static class |
ThriftField.Requiredness |
Visitable.Utils| Constructor and Description |
|---|
ThriftField(String name,
ThriftType type,
Long identifier,
ThriftField.Requiredness requiredness,
ConstValue value,
List<TypeAnnotation> annotations) |
| Modifier and Type | Method and Description |
|---|---|
List<TypeAnnotation> |
getAnnotations() |
com.google.common.base.Optional<Long> |
getIdentifier() |
String |
getName() |
ThriftField.Requiredness |
getRequiredness() |
ThriftType |
getType() |
com.google.common.base.Optional<ConstValue> |
getValue() |
String |
toString() |
void |
visit(DocumentVisitor visitor) |
public ThriftField(String name, ThriftType type, Long identifier, ThriftField.Requiredness requiredness, ConstValue value, List<TypeAnnotation> annotations)
public String getName()
public ThriftType getType()
public com.google.common.base.Optional<Long> getIdentifier()
public ThriftField.Requiredness getRequiredness()
public com.google.common.base.Optional<ConstValue> getValue()
public List<TypeAnnotation> getAnnotations()
public void visit(DocumentVisitor visitor) throws IOException
visit in interface VisitableIOExceptionCopyright © 2012-2017. All Rights Reserved.