public class JHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
packageSeparator |
| Constructor and Description |
|---|
JHelper(net.morimekta.providence.reflect.util.TypeRegistry registry,
JOptions options) |
| Modifier and Type | Method and Description |
|---|---|
String |
getConstantsClassName(net.morimekta.providence.reflect.contained.CDocument document) |
Object |
getDefaultValue(PField field) |
String |
getFieldType(PDescriptor type) |
String |
getInstanceClassName(PField field) |
String |
getJavaPackage(net.morimekta.providence.reflect.contained.CDocument document) |
String |
getJavaPackage(PDeclaredDescriptor<?> type) |
String |
getJavaPackage(PService type) |
String |
getProviderName(PDescriptor type) |
String |
getProviderName(PField field) |
String |
getValueType(PDescriptor type) |
public static String packageSeparator
public JHelper(net.morimekta.providence.reflect.util.TypeRegistry registry, JOptions options)
public String getJavaPackage(PDeclaredDescriptor<?> type) throws GeneratorException
GeneratorExceptionpublic String getJavaPackage(PService type) throws GeneratorException
GeneratorExceptionpublic String getJavaPackage(net.morimekta.providence.reflect.contained.CDocument document) throws GeneratorException
GeneratorExceptionpublic String getInstanceClassName(PField field) throws GeneratorException
GeneratorExceptionpublic String getConstantsClassName(net.morimekta.providence.reflect.contained.CDocument document)
public 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 © 2016. All rights reserved.