Class JaloClassWriter
- java.lang.Object
-
- de.hybris.bootstrap.codegenerator.AbstractImportProvider
-
- de.hybris.bootstrap.codegenerator.ClassWriter
-
- de.hybris.bootstrap.codegenerator.jalo.JaloClassWriter
-
- All Implemented Interfaces:
CodeWriter
- Direct Known Subclasses:
ConstantsWriter,ItemTypeWriter,ManagerWriter
public class JaloClassWriter extends ClassWriter
-
-
Field Summary
-
Fields inherited from class de.hybris.bootstrap.codegenerator.ClassWriter
GENERATED_NOTICE
-
-
Constructor Summary
Constructors Constructor Description JaloClassWriter(CodeGenerator gen, YExtension ext, java.lang.String className)JaloClassWriter(CodeGenerator gen, YExtension ext, java.lang.String className, boolean jaloLogicFree)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddAnnotations()java.lang.StringgetConstantsClassName()The constants class name of the enclosing extension package.booleanisJaloLogicFree()protected java.util.List<MethodWriter>sortMethods(java.util.List<MethodWriter> methods)-
Methods inherited from class de.hybris.bootstrap.codegenerator.ClassWriter
addAnnotation, addAnnotationIfDeprecated, addConstantDeclaration, addConstantDeclaration, addConstructor, addDeclaration, addDeclaration, addDeclaration, addInterface, addMethod, assembleAbstractClassName, assembleClassName, containsAnnotation, fill, 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, writeSignature
-
Methods inherited from class de.hybris.bootstrap.codegenerator.AbstractImportProvider
addRequiredImport
-
-
-
-
Constructor Detail
-
JaloClassWriter
public JaloClassWriter(CodeGenerator gen, YExtension ext, java.lang.String className)
-
JaloClassWriter
public JaloClassWriter(CodeGenerator gen, YExtension ext, java.lang.String className, boolean jaloLogicFree)
-
-
Method Detail
-
getConstantsClassName
public java.lang.String getConstantsClassName()
The constants class name of the enclosing extension package. The class name is fully qualified.
-
isJaloLogicFree
public boolean isJaloLogicFree()
-
sortMethods
protected java.util.List<MethodWriter> sortMethods(java.util.List<MethodWriter> methods)
- Overrides:
sortMethodsin classClassWriter
-
addAnnotations
protected void addAnnotations()
- Overrides:
addAnnotationsin classClassWriter
-
-