Class ConstantsWriter
java.lang.Object
de.hybris.bootstrap.codegenerator.AbstractImportProvider
de.hybris.bootstrap.codegenerator.ClassWriter
de.hybris.bootstrap.codegenerator.jalo.JaloClassWriter
de.hybris.bootstrap.codegenerator.jalo.ConstantsWriter
- All Implemented Interfaces:
CodeWriter
-
Field Summary
Fields inherited from class de.hybris.bootstrap.codegenerator.ClassWriter
GENERATED_NOTICE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringprotected voidfill()static booleanrequiresAttributeConstants(YComposedType cType, YExtension ext) static Map<YComposedType,List<YAttributeDescriptor>> sortAttributes(Collection<YAttributeDescriptor> attributes) sortTypes(Collection<YType> types) Methods inherited from class de.hybris.bootstrap.codegenerator.jalo.JaloClassWriter
addAnnotations, getConstantsClassName, isJaloLogicFree, sortMethodsMethods inherited from class de.hybris.bootstrap.codegenerator.ClassWriter
addAnnotation, addAnnotationIfDeprecated, addConstantDeclaration, addConstantDeclaration, addConstructor, addDeclaration, addDeclaration, addDeclaration, addInterface, addMethod, assembleAbstractClassName, assembleClassName, containsAnnotation, firstLetterUpperCase, getAnnotations, getClassName, getClassToExtend, getConstantDeclarations, getConstructors, getCopyright, getDeclarations, getExtension, getGenerator, getInfo, getInterfaces, getJavadoc, getMethods, getModifiers, getPackageName, getRequiredImports, getVisibility, isGeneratePartOf, processAnnotations, removeSelfImport, setClassToExtend, setCopyright, setJavadoc, setModifiers, setPackageName, setVisibility, write, writeMethods, writeSignatureMethods inherited from class de.hybris.bootstrap.codegenerator.AbstractImportProvider
addRequiredImport
-
Constructor Details
-
ConstantsWriter
-
-
Method Details
-
assembleConstantsClassName
-
createNonAbstractClassWriter
-
fill
protected void fill()- Overrides:
fillin classClassWriter
-
requiresAttributeConstants
-
sortAttributes
public static Map<YComposedType,List<YAttributeDescriptor>> sortAttributes(Collection<YAttributeDescriptor> attributes) -
sortTypes
-
getExtendedEnumTypes
-
getDeclaredEnumTypes
-