public class JHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
packageSeparator |
| Constructor and Description |
|---|
JHelper(ProgramTypeRegistry 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(CField field) |
String |
getJavaPackage(CProgram document) |
String |
getJavaPackage(PDeclaredDescriptor<?> type) |
String |
getJavaPackage(PService type) |
String |
getProviderName(PDescriptor type) |
String |
getValueType(PDescriptor type) |
public static final String packageSeparator
public JHelper(ProgramTypeRegistry 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(CField field) throws GeneratorException
GeneratorExceptionpublic String getValueType(PDescriptor type) throws GeneratorException
GeneratorExceptionpublic String getFieldType(PDescriptor type) throws GeneratorException
GeneratorExceptionpublic String getProviderName(PDescriptor type) throws GeneratorException
GeneratorExceptionCopyright © 2015–2018 morimekta.net. All rights reserved.