f191371234ce7d876eb3f048faafda04f11a6fd8
Files Diff
- Added: 9
- Removed: 0
- Renamed: 0
- Modified: 26
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type bindMarkerNames : List<String> to bindMarkerNames : List<CodeBlock> in method public bindParameters(parameters List<? extends VariableElement>, bindMarkerNames List<CodeBlock>, methodBuilder MethodSpec.Builder, enclosingClass BindableHandlingSharedCode, context ProcessorContext) : void in class com.datastax.oss.driver.internal.mapper.processor.util.generation.GeneratedCodePatterns | From | To | |
Rename Variable | 2 | ||
Rename Variable annotation : ClusteringColumn to getterAnnotation : ClusteringColumn in method private getClusteringColumnIndex(getMethod ExecutableElement, field VariableElement, partitionKeyIndex int) : int in class com.datastax.oss.driver.internal.mapper.processor.entity.DefaultEntityFactory | From | To | |
Rename Variable annotation : PartitionKey to getterAnnotation : PartitionKey in method private getPartitionKeyIndex(getMethod ExecutableElement, field VariableElement) : int in class com.datastax.oss.driver.internal.mapper.processor.entity.DefaultEntityFactory | From | To | |
Change Return Type | 4 | ||
Change Return Type String to CodeBlock in method public getCqlName() : CodeBlock in class com.datastax.oss.driver.internal.mapper.processor.entity.PropertyDefinition | From | To | |
Change Return Type String to CodeBlock in method public getCqlName() : CodeBlock in class com.datastax.oss.driver.internal.mapper.processor.entity.DefaultEntityDefinition | From | To | |
Change Return Type String to CodeBlock in method public getCqlName() : CodeBlock in class com.datastax.oss.driver.internal.mapper.processor.entity.EntityDefinition | From | To | |
Change Return Type String to CodeBlock in method public getCqlName() : CodeBlock in class com.datastax.oss.driver.internal.mapper.processor.entity.DefaultPropertyDefinition | From | To | |
Change Variable Type | 3 | ||
Change Variable Type cqlName : String to cqlName : CodeBlock in method public generate() : Optional<MethodSpec> in class com.datastax.oss.driver.internal.mapper.processor.entity.EntityHelperGetMethodGenerator | From | To | |
Change Variable Type primaryKeyNames : List<String> to primaryKeyNames : List<CodeBlock> in method public generate() : Optional<MethodSpec> in class com.datastax.oss.driver.internal.mapper.processor.dao.DaoDeleteMethodGenerator | From | To | |
Change Variable Type primaryKeyNames : List<String> to primaryKeyNames : List<CodeBlock> in method public generate() : Optional<MethodSpec> in class com.datastax.oss.driver.internal.mapper.processor.dao.DaoSelectMethodGenerator | From | To | |
Extract Method | 1 | ||
Extract Method public setValue(cqlName CodeBlock, type PropertyType, valueExtractor CodeBlock, targetName String, methodBuilder MethodSpec.Builder, enclosingClass BindableHandlingSharedCode) : void extracted from public setValue(cqlName String, type PropertyType, valueExtractor CodeBlock, targetName String, methodBuilder MethodSpec.Builder, enclosingClass BindableHandlingSharedCode) : void in class com.datastax.oss.driver.internal.mapper.processor.util.generation.GeneratedCodePatterns | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type cqlName : String to cqlName : CodeBlock in class com.datastax.oss.driver.internal.mapper.processor.entity.DefaultPropertyDefinition | From | To | |
Change Attribute Type cqlName : String to cqlName : CodeBlock in class com.datastax.oss.driver.internal.mapper.processor.entity.DefaultEntityDefinition | From | To | |
Rename Parameter | 2 | ||
Rename Parameter cqlName : String to javaName : String in method public DefaultEntityDefinition(className ClassName, javaName String, customCqlName Optional<String>, partitionKey List<PropertyDefinition>, clusteringColumns List<PropertyDefinition>, regularColumns List<PropertyDefinition>, cqlNameGenerator CqlNameGenerator) in class com.datastax.oss.driver.internal.mapper.processor.entity.DefaultEntityDefinition | From | To | |
Rename Parameter cqlName : String to javaName : String in method public DefaultPropertyDefinition(javaName String, customCqlName Optional<String>, getterName String, setterName String, type PropertyType, cqlNameGenerator CqlNameGenerator) in class com.datastax.oss.driver.internal.mapper.processor.entity.DefaultPropertyDefinition | From | To |