Package com.dslplatform.json.processor
Class EnumTemplate
java.lang.Object
com.dslplatform.json.processor.EnumTemplate
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidcreate(StructInfo si, String className) private static StringextractReturnType(Element element) private static boolean(package private) booleanisStatic(StructInfo si) (package private) voidwriteName(Writer code, StructInfo target, String readValue, String writerName) private voidwriteName(Writer code, StructInfo target, String readValue, String writerName, boolean external)
-
Field Details
-
code
-
context
-
-
Constructor Details
-
EnumTemplate
EnumTemplate(Context context)
-
-
Method Details
-
isAllSimple
-
writeName
void writeName(Writer code, StructInfo target, String readValue, String writerName) throws IOException - Throws:
IOException
-
writeName
private void writeName(Writer code, StructInfo target, String readValue, String writerName, boolean external) throws IOException - Throws:
IOException
-
isStatic
-
create
- Throws:
IOException
-
extractReturnType
-