ed185b9b48e320ca04a91baf1009f4832dc09a98
Files Diff
- Added: 3
- Removed: 1
- Renamed: 0
- Modified: 11
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move Method | 3 | ||
| Move Method private getMappedByFromTargetEntity(persistentField CtField, targetEntity CtClass) : String from class org.hibernate.bytecode.enhance.internal.PersistentAttributesEnhancer to private getMappedByFromTargetEntity(persistentField CtField, targetEntity CtClass, context EnhancementContext) : String from class org.hibernate.bytecode.enhance.internal.PersistentAttributesHelper | From | To | |
| Move Method private getMappedByFromAnnotation(persistentField CtField) : String from class org.hibernate.bytecode.enhance.internal.PersistentAttributesEnhancer to private getMappedByFromAnnotation(persistentField CtField) : String from class org.hibernate.bytecode.enhance.internal.PersistentAttributesHelper | From | To | |
| Move Method private isPossibleBiDirectionalAssociation(persistentField CtField) : boolean from class org.hibernate.bytecode.enhance.internal.PersistentAttributesEnhancer to public isPossibleBiDirectionalAssociation(persistentField CtField) : boolean from class org.hibernate.bytecode.enhance.internal.PersistentAttributesHelper | From | To | |
| Inline Method | 2 | ||
| Inline Method private getMappedBy(persistentField CtField, targetEntity CtClass) : String inlined to private handleBiDirectionalAssociation(managedCtClass CtClass, persistentField CtField, fieldWriter CtMethod) : void in class org.hibernate.bytecode.enhance.internal.PersistentAttributesEnhancer | From | To | |
| Extract Class | 1 | ||
| Extract Class org.hibernate.bytecode.enhance.internal.PersistentAttributesHelper from class org.hibernate.bytecode.enhance.internal.PersistentAttributesEnhancer | From | To | |
| Rename Class | 1 | ||
| Rename Class org.hibernate.bytecode.enhance.internal.tracker.CollectionTracker renamed to org.hibernate.bytecode.enhance.internal.tracker.SimpleCollectionTracker | From | To | |
| Parameterize Variable | 1 | ||
| Parameterize Variable local : String to fieldWriter : CtMethod in method private handleBiDirectionalAssociation(managedCtClass CtClass, persistentField CtField, fieldWriter CtMethod) : void in class org.hibernate.bytecode.enhance.internal.PersistentAttributesEnhancer | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type local : String to fieldWriter : CtMethod in method private handleBiDirectionalAssociation(managedCtClass CtClass, persistentField CtField, fieldWriter CtMethod) : void in class org.hibernate.bytecode.enhance.internal.PersistentAttributesEnhancer | From | To | |
| Extract Interface | 1 | ||
| Extract Interface org.hibernate.bytecode.enhance.spi.CollectionTracker from classes [org.hibernate.bytecode.enhance.internal.tracker.SimpleCollectionTracker] | From | To |