public class JHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
packageSeparator |
| Constructor and Description |
|---|
JHelper(ProgramRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
String |
getConstantsClassName(CProgram document) |
Object |
getDefaultValue(PField field) |
String |
getFieldType(PDescriptor type) |
String |
getHazelcastFactoryClassName(CProgram document) |
String |
getHazelcastOptionalName(JMessage<?> message) |
String |
getInstanceClassName(PField field) |
String |
getJavaPackage(CProgram document) |
String |
getJavaPackage(PDeclaredDescriptor<?> type) |
String |
getJavaPackage(PService type) |
String |
getProviderName(PDescriptor type) |
String |
getProviderName(PField field) |
String |
getValueType(PDescriptor type) |
public static final String packageSeparator
public JHelper(ProgramRegistry registry)
public String getJavaPackage(PDeclaredDescriptor<?> type) throws GeneratorException
GeneratorExceptionpublic String getJavaPackage(PService type) throws GeneratorException
GeneratorExceptionpublic String getJavaPackage(CProgram document) throws GeneratorException
GeneratorExceptionpublic String getInstanceClassName(PField field) throws GeneratorException
GeneratorExceptionpublic String getValueType(PDescriptor type) throws GeneratorException
GeneratorExceptionpublic String getFieldType(PDescriptor type) throws GeneratorException
GeneratorExceptionpublic String getProviderName(PDescriptor type) throws GeneratorException
GeneratorExceptionpublic String getProviderName(PField field) throws GeneratorException
GeneratorExceptionCopyright © 2015–2017 morimekta.net. All rights reserved.