public class BuilderImplTemplate extends AbstractBuilderTemplate
augmentType, keyType, properties, targetType
Constructor and Description |
---|
BuilderImplTemplate(BuilderTemplate builder,
GeneratedType type) |
Modifier and Type | Method and Description |
---|---|
CharSequence |
body() |
protected CharSequence |
generateCopyAugmentation(Type implType) |
protected CharSequence |
generateCopyKeys(List<GeneratedProperty> keyProps) |
protected CharSequence |
generateEquals()
Template method which generates the method
equals() . |
protected CharSequence |
generateHashCode()
Template method which generates the method
hashCode() . |
generateAugmentField, generateCopyConstructor, generateFields, generateGetters, generateToString
asArguments, asArgumentsDeclaration, asCode, asJavadoc, asLink, checkArgument, emitConstant, encodeJavadocSymbols, fieldName, formatDataForJavaDoc, formatDataForJavaDoc, formatDataForJavaDoc, formatToParagraph, generate, generateCheckers, generateParameters, getterMethod, getterMethodName, hashCodeResult, propertyNameFromGetter, setterMethod, wrapToDocumentation
public BuilderImplTemplate(BuilderTemplate builder, GeneratedType type)
public CharSequence body()
body
in class BaseTemplate
protected CharSequence generateHashCode()
hashCode()
.hashCode()
method definition in JAVA formatprotected CharSequence generateEquals()
equals()
.equals()
method definition in JAVA formatprotected CharSequence generateCopyKeys(List<GeneratedProperty> keyProps)
generateCopyKeys
in class AbstractBuilderTemplate
protected CharSequence generateCopyAugmentation(Type implType)
generateCopyAugmentation
in class AbstractBuilderTemplate
Copyright © 2019 OpenDaylight. All rights reserved.