public class CommonMemberFormatter extends Object implements EnumMemberFormatter
| Constructor and Description |
|---|
CommonMemberFormatter(net.morimekta.util.io.IndentedPrintWriter writer,
GeneratorOptions generatorOptions,
JavaOptions javaOptions) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendClassAnnotations(CEnumDescriptor type) |
void |
appendExtraProperties(CEnumDescriptor type) |
void |
appendStaticGetter_FindBy(CEnumDescriptor type,
String simpleClass) |
void |
appendStaticGetter_ValueFor(CEnumDescriptor type,
String simpleClass) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendMethods, getExtraImplementspublic CommonMemberFormatter(net.morimekta.util.io.IndentedPrintWriter writer,
GeneratorOptions generatorOptions,
JavaOptions javaOptions)
public void appendClassAnnotations(CEnumDescriptor type) throws GeneratorException
appendClassAnnotations in interface EnumMemberFormatterGeneratorExceptionpublic void appendStaticGetter_FindBy(CEnumDescriptor type, String simpleClass)
public void appendStaticGetter_ValueFor(CEnumDescriptor type, String simpleClass)
public void appendExtraProperties(CEnumDescriptor type) throws GeneratorException
appendExtraProperties in interface EnumMemberFormatterGeneratorExceptionCopyright © 2015–2018 morimekta.net. All rights reserved.