public class JField extends Object
| Constructor and Description |
|---|
JField(CField field,
JHelper helper,
int index) |
| Modifier and Type | Method and Description |
|---|---|
String |
adder() |
boolean |
alwaysPresent() |
boolean |
binary() |
String |
builderFieldType() |
String |
builderInstanceType() |
String |
builderMutableType() |
String |
comment() |
boolean |
container() |
ThriftContainer |
containerType() |
String |
counter() |
CField |
field() |
String |
fieldEnum() |
String |
fieldInstanceCopy(String var) |
String |
fieldType() |
String |
getProvider() |
String |
getter() |
boolean |
hasComment() |
boolean |
hasDefaultConstant() |
int |
id() |
int |
index() |
String |
instanceType() |
String |
isModified() |
boolean |
isPrimitiveJavaValue() |
boolean |
isRequired() |
String |
isSet() |
boolean |
isVoid() |
String |
kDefault() |
String |
member() |
String |
mutable() |
String |
name() |
String |
param() |
String |
paramType() |
boolean |
portableRequiresBinarySerialization() |
String |
presence() |
String |
resetter() |
String |
setter() |
PList |
toPList() |
PMap |
toPMap() |
PSet |
toPSet() |
PType |
type() |
String |
valueType() |
public int index()
public CField field()
public PType type()
public boolean binary()
public int id()
public String name()
public String param()
public String member()
public String mutable()
public String isSet()
public String isModified()
public String getter()
public String presence()
public String counter()
public String setter()
public String adder()
public String resetter()
public String fieldEnum()
public String kDefault()
public boolean hasDefaultConstant()
public boolean isRequired()
public boolean container()
public ThriftContainer containerType()
public boolean alwaysPresent()
public boolean isPrimitiveJavaValue()
public String valueType() throws GeneratorException
GeneratorExceptionpublic String fieldType() throws GeneratorException
GeneratorExceptionpublic String paramType() throws GeneratorException
GeneratorExceptionpublic String instanceType() throws GeneratorException
GeneratorExceptionpublic String builderFieldType() throws GeneratorException
GeneratorExceptionpublic String builderMutableType() throws GeneratorException
GeneratorExceptionpublic String fieldInstanceCopy(String var) throws GeneratorException
GeneratorExceptionpublic String builderInstanceType() throws GeneratorException
GeneratorExceptionpublic String getProvider() throws GeneratorException
GeneratorExceptionpublic boolean hasComment()
public String comment()
public boolean isVoid()
public PList toPList()
public PSet toPSet()
public PMap toPMap()
public boolean portableRequiresBinarySerialization()
Copyright © 2015–2018 morimekta.net. All rights reserved.