Companion

object Companion

Functions

addOnMutationCall
Link copied to clipboard
fun addOnMutationCall(method: MethodSpec.Builder): MethodSpec.Builder
addParameterNullCheckIfNeeded
Link copied to clipboard
fun addParameterNullCheckIfNeeded(configManager: ConfigManager, attr: AttributeInfo, paramName: String, builder: MethodSpec.Builder)
isAttributeSetCode
Link copied to clipboard
fun isAttributeSetCode(info: GeneratedModelInfo, attribute: AttributeInfo): CodeBlock
modelImplementsBindWithDiff
Link copied to clipboard
fun modelImplementsBindWithDiff(clazz: TypeElement, bindWithDiffMethod: MethodSpec, types: Types, elements: Elements): Boolean
notEqualsCodeBlock
Link copied to clipboard
fun notEqualsCodeBlock(attribute: AttributeInfo): CodeBlock
fun notEqualsCodeBlock(useObjectHashCode: Boolean, type: TypeName, accessorCode: String): CodeBlock
setBitSetIfNeeded
Link copied to clipboard
fun setBitSetIfNeeded(modelInfo: GeneratedModelInfo, attr: AttributeInfo, stringSetter: MethodSpec.Builder)
shouldUseBitSet
Link copied to clipboard
fun shouldUseBitSet(info: GeneratedModelInfo): Boolean
fun shouldUseBitSet(info: GeneratedModelInfo, attr: AttributeInfo): Boolean
startNotEqualsControlFlow
Link copied to clipboard
fun startNotEqualsControlFlow(methodBuilder: MethodSpec.Builder, attribute: AttributeInfo): MethodSpec.Builder
fun startNotEqualsControlFlow(builder: MethodSpec.Builder, useObjectHashCode: Boolean, type: TypeName, accessorCode: String): MethodSpec.Builder

Properties

ATTRIBUTES_BITSET_FIELD_NAME
Link copied to clipboard
val ATTRIBUTES_BITSET_FIELD_NAME: String