public class JHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
packageSeparator |
| Constructor and Description |
|---|
JHelper(TypeRegistry registry,
JOptions options) |
| Modifier and Type | Method and Description |
|---|---|
String |
getConstantsClassName(CDocument document) |
Object |
getDefaultValue(PField<?> field) |
String |
getFieldType(PDescriptor type) |
String |
getInstanceClassName(PDescriptor type) |
String |
getJavaPackage(CDocument document) |
String |
getJavaPackage(PDeclaredDescriptor<?> type) |
String |
getProviderName(PDescriptor type) |
String |
getQualifiedInstanceClassName(PDescriptor<?> type) |
String |
getQualifiedValueTypeName(PDescriptor type) |
String |
getValueType(PDescriptor type) |
public static String packageSeparator
public JHelper(TypeRegistry registry, JOptions options)
public String getJavaPackage(PDeclaredDescriptor<?> type) throws GeneratorException
GeneratorExceptionpublic String getJavaPackage(CDocument document) throws GeneratorException
GeneratorExceptionpublic String getQualifiedInstanceClassName(PDescriptor<?> type) throws GeneratorException
GeneratorExceptionpublic String getInstanceClassName(PDescriptor type)
public String getQualifiedValueTypeName(PDescriptor type) throws GeneratorException
GeneratorExceptionpublic String getValueType(PDescriptor type)
public String getFieldType(PDescriptor type)
public String getProviderName(PDescriptor type)
Copyright © 2016. All rights reserved.