public class TypeToJavaConverter extends Object
| Constructor and Description |
|---|
TypeToJavaConverter(TypeRegistry typeRegistry,
TypedefRegistry typedefRegistry,
String namespace,
String javaPackage) |
| Modifier and Type | Method and Description |
|---|---|
String |
convert(ThriftType thriftType,
boolean primitive) |
String |
convertType(ThriftType thriftType) |
public TypeToJavaConverter(TypeRegistry typeRegistry, TypedefRegistry typedefRegistry, String namespace, String javaPackage)
public String convertType(ThriftType thriftType)
public String convert(ThriftType thriftType, boolean primitive)
Copyright © 2012-2016 Facebook, Inc.. All Rights Reserved.