public class ConstantsWriter extends JaloClassWriter
GENERATED_NOTICE| Constructor and Description |
|---|
ConstantsWriter(YExtension extension,
CodeGenerator generator) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
assembleConstantsClassName(CodeGenerator gen,
YExtension ext) |
ClassWriter |
createNonAbstractClassWriter() |
protected void |
fill() |
protected java.util.Set<YEnumType> |
getDeclaredEnumTypes() |
protected java.util.Set<YEnumType> |
getExtendedEnumTypes() |
static boolean |
requiresAttributeConstants(YComposedType cType,
YExtension ext) |
static java.util.Map<YComposedType,java.util.List<YAttributeDescriptor>> |
sortAttributes(java.util.Collection<YAttributeDescriptor> attributes) |
static java.util.List<YType> |
sortTypes(java.util.Collection<YType> types) |
addAnnotations, getConstantsClassName, isJaloLogicFree, sortMethodsaddAnnotation, addConstantDeclaration, addConstantDeclaration, addConstructor, addDeclaration, addDeclaration, addDeclaration, addInterface, addMethod, assembleAbstractClassName, assembleClassName, containsAnnotation, disableSuppressPMD, firstLetterUpperCase, getAnnotations, getClassName, getClassToExtend, getConstantDeclarations, getConstructors, getCopyright, getDeclarations, getExtension, getGenerator, getInfo, getInterfaces, getJavadoc, getMethods, getModifiers, getPackageName, getRequiredImports, getVisibility, isGeneratePartOf, isSuppressPMD, processAnnotations, removeSelfImport, setClassToExtend, setCopyright, setJavadoc, setModifiers, setPackageName, setVisibility, write, writeMethods, writeSignatureaddRequiredImportpublic ConstantsWriter(YExtension extension, CodeGenerator generator)
public static java.lang.String assembleConstantsClassName(CodeGenerator gen, YExtension ext)
public ClassWriter createNonAbstractClassWriter()
protected void fill()
fill in class ClassWriterpublic static boolean requiresAttributeConstants(YComposedType cType, YExtension ext)
public static java.util.Map<YComposedType,java.util.List<YAttributeDescriptor>> sortAttributes(java.util.Collection<YAttributeDescriptor> attributes)
protected java.util.Set<YEnumType> getExtendedEnumTypes()
protected java.util.Set<YEnumType> getDeclaredEnumTypes()
Copyright © 2018 SAP SE. All Rights Reserved.