cc01f2561dbca95bd58048f85e283ba1719ee588
Files Diff
- Added: 56
- Removed: 2
- Renamed: 0
- Modified: 55
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 3 | ||
Change Parameter Type oldValue : byte to oldValue : Object in method protected handleWrite(target Object, attributeName String, oldValue Object, newValue Object) : Object in class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor | From | To | |
Change Parameter Type newValue : byte to newValue : Object in method protected handleWrite(target Object, attributeName String, oldValue Object, newValue Object) : Object in class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor | From | To | |
Change Parameter Type sessionFactory : SessionFactoryImplementor to creationContext : PersisterCreationContext in method public EntityMetamodel(persistentClass PersistentClass, persister EntityPersister, creationContext PersisterCreationContext) in class org.hibernate.tuple.entity.EntityMetamodel | From | To | |
Move Method | 22 | ||
Move Method public writeShort(obj Object, name String, oldValue short, newValue short) : short from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to public writeShort(obj Object, name String, oldValue short, newValue short) : short from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Move Method public writeFloat(obj Object, name String, oldValue float, newValue float) : float from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to public writeFloat(obj Object, name String, oldValue float, newValue float) : float from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Move Method public readShort(obj Object, name String, oldValue short) : short from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to public readShort(obj Object, name String, oldValue short) : short from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Move Method public readBoolean(obj Object, name String, oldValue boolean) : boolean from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to public readBoolean(obj Object, name String, oldValue boolean) : boolean from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Move Method public readObject(obj Object, name String, oldValue Object) : Object from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to public readObject(obj Object, name String, oldValue Object) : Object from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Move Method public setSession(session SharedSessionContractImplementor) : void from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to public setSession(session SharedSessionContractImplementor) : void from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Move Method public writeLong(obj Object, name String, oldValue long, newValue long) : long from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to public writeLong(obj Object, name String, oldValue long, newValue long) : long from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Move Method public writeDouble(obj Object, name String, oldValue double, newValue double) : double from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to public writeDouble(obj Object, name String, oldValue double, newValue double) : double from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Move Method public writeChar(obj Object, name String, oldValue char, newValue char) : char from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to public writeChar(obj Object, name String, oldValue char, newValue char) : char from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Move Method public writeObject(obj Object, name String, oldValue Object, newValue Object) : Object from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to public writeObject(obj Object, name String, oldValue Object, newValue Object) : Object from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Move Method public getLinkedSession() : SharedSessionContractImplementor from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to public getLinkedSession() : SharedSessionContractImplementor from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Move Method public readInt(obj Object, name String, oldValue int) : int from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to public readInt(obj Object, name String, oldValue int) : int from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Move Method public writeInt(obj Object, name String, oldValue int, newValue int) : int from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to public writeInt(obj Object, name String, oldValue int, newValue int) : int from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Move Method public readChar(obj Object, name String, oldValue char) : char from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to public readChar(obj Object, name String, oldValue char) : char from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Move Method public writeBoolean(obj Object, name String, oldValue boolean, newValue boolean) : boolean from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to public writeBoolean(obj Object, name String, oldValue boolean, newValue boolean) : boolean from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Move Method public unsetSession() : void from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to public unsetSession() : void from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Move Method public getSessionFactoryUuid() : String from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to public getSessionFactoryUuid() : String from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Move Method public readByte(obj Object, name String, oldValue byte) : byte from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to public readByte(obj Object, name String, oldValue byte) : byte from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Move Method public readDouble(obj Object, name String, oldValue double) : double from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to public readDouble(obj Object, name String, oldValue double) : double from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Move Method public readFloat(obj Object, name String, oldValue float) : float from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to public readFloat(obj Object, name String, oldValue float) : float from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Move Method public readLong(obj Object, name String, oldValue long) : long from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to public readLong(obj Object, name String, oldValue long) : long from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Move Method public allowLoadOutsideTransaction() : boolean from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to public allowLoadOutsideTransaction() : boolean from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Pull Up Attribute | 5 | ||
Pull Up Attribute private oid : long from class org.hibernate.test.bytecode.enhancement.lazy.group.ComplexFetchGroupTest.EEntity to private oid : long from class org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.BaseEntity | From | To | |
Pull Up Attribute public oid : long from class org.hibernate.test.bytecode.enhancement.lazy.group.ComplexFetchGroupTest.BEntity to private oid : long from class org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.BaseEntity | From | To | |
Pull Up Attribute private oid : long from class org.hibernate.test.bytecode.enhancement.lazy.group.ComplexFetchGroupTest.AEntity to private oid : long from class org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.BaseEntity | From | To | |
Pull Up Attribute private oid : long from class org.hibernate.test.bytecode.enhancement.lazy.group.ComplexFetchGroupTest.CEntity to private oid : long from class org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.BaseEntity | From | To | |
Pull Up Attribute private oid : long from class org.hibernate.test.bytecode.enhancement.lazy.group.ComplexFetchGroupTest.DEntity to private oid : long from class org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.BaseEntity | From | To | |
Move Attribute | 4 | ||
Move Attribute private allowLoadOutsideTransaction : boolean from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to private allowLoadOutsideTransaction : boolean from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Move Attribute private sessionFactoryUuid : String from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to private sessionFactoryUuid : String from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Move Attribute private entityName : String from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to private entityName : String from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Move Attribute private session : SharedSessionContractImplementor from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor to private session : SharedSessionContractImplementor from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor | From | To | |
Extract Class | 1 | ||
Extract Class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor from class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor | From | To | |
Move And Rename Class | 2 | ||
Move And Rename Class org.hibernate.test.bytecode.enhancement.lazy.group.ComplexFetchGroupTest moved and renamed to org.hibernate.test.bytecode.enhancement.lazy.proxy.ProxyDeletionTest | From | To | |
Move And Rename Class org.hibernate.bytecode.enhance.spi.interceptor.Helper.Consumer moved and renamed to org.hibernate.bytecode.enhance.spi.interceptor.SessionAssociableInterceptor | From | To | |
Move Class | 6 | ||
Move Class org.hibernate.test.bytecode.enhancement.lazy.group.ComplexFetchGroupTest.DEntity moved to org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.DEntity | From | To | |
Move Class org.hibernate.test.bytecode.enhancement.lazy.group.ComplexFetchGroupTest.CEntity moved to org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.CEntity | From | To | |
Move Class org.hibernate.test.bytecode.enhancement.lazy.group.ComplexFetchGroupTest.BEntity moved to org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.BEntity | From | To | |
Move Class org.hibernate.bytecode.enhance.spi.interceptor.Helper.Cause moved to org.hibernate.bytecode.enhance.spi.interceptor.EnhancementHelper.Cause | From | To | |
Move Class org.hibernate.test.bytecode.enhancement.lazy.group.ComplexFetchGroupTest.AEntity moved to org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.AEntity | From | To | |
Move Class org.hibernate.test.bytecode.enhancement.lazy.group.ComplexFetchGroupTest.EEntity moved to org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.EEntity | From | To | |
Change Variable Type | 4 | ||
Change Variable Type interceptor : LazyAttributeLoadingInterceptor to interceptor : BytecodeLazyAttributeInterceptor in method public afterInitialize(entity Object, session SharedSessionContractImplementor) : void in class org.hibernate.tuple.entity.PojoEntityTuplizer | From | To | |
Change Variable Type interceptor : LazyAttributeLoadingInterceptor to interceptor : BytecodeLazyAttributeInterceptor in method public afterReassociate(entity Object, session SharedSessionContractImplementor) : void in class org.hibernate.persister.entity.AbstractEntityPersister | From | To | |
Change Variable Type interceptor : InterceptorImplementor to interceptor : PersistentAttributeInterceptor in method public initializeLazyProperty(fieldName String, entity Object, session SharedSessionContractImplementor) : Object in class org.hibernate.persister.entity.AbstractEntityPersister | From | To | |
Change Variable Type interceptor : InterceptorImplementor to interceptor : PersistentAttributeInterceptor in method private initializeLazyPropertiesFromDatastore(fieldName String, entity Object, session SharedSessionContractImplementor, id Serializable, entry EntityEntry) : Object in class org.hibernate.persister.entity.AbstractEntityPersister | From | To | |
Extract Variable | 1 | ||
Extract Variable entityKey : EntityKey in method public internalLoad(entityName String, id Serializable, eager boolean, nullable boolean) : Object from class org.hibernate.internal.StatelessSessionImpl | From | To | |
Extract Method | 6 | ||
Extract Method public extractLazyInterceptor(entity Object) : BytecodeLazyAttributeInterceptor extracted from public extractInterceptor(entity Object) : LazyAttributeLoadingInterceptor in class org.hibernate.tuple.entity.BytecodeEnhancementMetadataPojoImpl | From | To | |
Extract Method private hydrateEntityState(rs ResultSet, i int, persister Loadable, rowIdAlias String, key EntityKey, hydratedObjects List, session SharedSessionContractImplementor, instanceClass String, object Object, acquiredLockMode LockMode) : void extracted from private instanceNotYetLoaded(rs ResultSet, i int, persister Loadable, rowIdAlias String, key EntityKey, lockMode LockMode, optionalObjectKey EntityKey, optionalObject Object, hydratedObjects List, session SharedSessionContractImplementor) : Object in class org.hibernate.loader.Loader | From | To | |
Extract Method public internalLoad(entityName String, id Serializable, eager boolean, nullable boolean, unwrapProxy Boolean) : Object extracted from public internalLoad(entityName String, id Serializable, eager boolean, nullable boolean) : Object in class org.hibernate.internal.SessionImpl | From | To | |
Extract Method public getBytecodeEnhancementMetadata() : BytecodeEnhancementMetadata extracted from public getInstrumentationMetadata() : BytecodeEnhancementMetadata in class org.hibernate.persister.entity.AbstractEntityPersister | From | To | |
Extract Method public injectInterceptor(entity Object, interceptor PersistentAttributeInterceptor, session SharedSessionContractImplementor) : void extracted from public injectInterceptor(entity Object, session SharedSessionContractImplementor) : LazyAttributeLoadingInterceptor in class org.hibernate.tuple.entity.BytecodeEnhancementMetadataPojoImpl | From | To | |
Extract Method private createProxy(event LoadEvent, persister EntityPersister, keyToLoad EntityKey, persistenceContext PersistenceContext) : Object extracted from private createProxyIfNecessary(event LoadEvent, persister EntityPersister, keyToLoad EntityKey, options LoadEventListener.LoadType, persistenceContext PersistenceContext) : Object in class org.hibernate.event.internal.DefaultLoadEventListener | From | To | |
Rename Method | 2 | ||
Rename Method public writeByte(obj Object, name String, oldValue byte, newValue byte) : byte renamed to protected handleWrite(target Object, attributeName String, oldValue Object, newValue Object) : Object in class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor | From | To | |
Rename Method protected intercept(target Object, attributeName String, value Object) : Object renamed to protected handleRead(target Object, attributeName String, value Object) : Object in class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor | From | To | |
Pull Up Method | 10 | ||
Pull Up Method public getOid() : long from class org.hibernate.test.bytecode.enhancement.lazy.group.ComplexFetchGroupTest.AEntity to public getOid() : long from class org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.BaseEntity | From | To | |
Pull Up Method public getOid() : long from class org.hibernate.test.bytecode.enhancement.lazy.group.ComplexFetchGroupTest.BEntity to public getOid() : long from class org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.BaseEntity | From | To | |
Pull Up Method public getOid() : long from class org.hibernate.test.bytecode.enhancement.lazy.group.ComplexFetchGroupTest.CEntity to public getOid() : long from class org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.BaseEntity | From | To | |
Pull Up Method public getOid() : long from class org.hibernate.test.bytecode.enhancement.lazy.group.ComplexFetchGroupTest.DEntity to public getOid() : long from class org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.BaseEntity | From | To | |
Pull Up Method public setOid(oid long) : void from class org.hibernate.test.bytecode.enhancement.lazy.group.ComplexFetchGroupTest.AEntity to public setOid(oid long) : void from class org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.BaseEntity | From | To | |
Pull Up Method public getOid() : long from class org.hibernate.test.bytecode.enhancement.lazy.group.ComplexFetchGroupTest.EEntity to public getOid() : long from class org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.BaseEntity | From | To | |
Pull Up Method public setOid(oid long) : void from class org.hibernate.test.bytecode.enhancement.lazy.group.ComplexFetchGroupTest.BEntity to public setOid(oid long) : void from class org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.BaseEntity | From | To | |
Pull Up Method public setOid(oid long) : void from class org.hibernate.test.bytecode.enhancement.lazy.group.ComplexFetchGroupTest.CEntity to public setOid(oid long) : void from class org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.BaseEntity | From | To | |
Pull Up Method public setOid(oid long) : void from class org.hibernate.test.bytecode.enhancement.lazy.group.ComplexFetchGroupTest.DEntity to public setOid(oid long) : void from class org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.BaseEntity | From | To | |
Pull Up Method public setOid(oid long) : void from class org.hibernate.test.bytecode.enhancement.lazy.group.ComplexFetchGroupTest.EEntity to public setOid(oid long) : void from class org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.BaseEntity | From | To | |
Rename Variable | 2 | ||
Rename Variable descriptors : EntityAliases[] to entityAliases : EntityAliases[] in method private getRow(rs ResultSet, persisters Loadable[], keys EntityKey[], optionalObject Object, optionalObjectKey EntityKey, lockModes LockMode[], hydratedObjects List, session SharedSessionContractImplementor) : Object[] in class org.hibernate.loader.Loader | From | To | |
Rename Variable source : EventSource to session : EventSource in method protected entityIsTransient(event MergeEvent, copyCache Map) : void in class org.hibernate.event.internal.DefaultMergeEventListener | From | To | |
Change Return Type | 1 | ||
Change Return Type byte to Object in method protected handleWrite(target Object, attributeName String, oldValue Object, newValue Object) : Object in class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor | From | To | |
Extract Superclass | 3 | ||
Extract Superclass org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.BaseEntity from classes [org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.AEntity, org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.BEntity, org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.CEntity, org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.DEntity, org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.EEntity] | From | To | |
Extract Superclass org.hibernate.test.bytecode.enhancement.lazy.proxy.BaseEntity from classes [org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.AEntity, org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.BEntity, org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.CEntity, org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.DEntity, org.hibernate.test.bytecode.enhancement.lazy.proxy.FetchGraphTest.EEntity] | From | To | |
Extract Superclass org.hibernate.bytecode.enhance.spi.interceptor.AbstractLazyLoadInterceptor from classes [org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor] | From | To | |
Rename Parameter | 3 | ||
Rename Parameter obj : Object to target : Object in method protected handleWrite(target Object, attributeName String, oldValue Object, newValue Object) : Object in class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor | From | To | |
Rename Parameter sessionFactory : SessionFactoryImplementor to creationContext : PersisterCreationContext in method public EntityMetamodel(persistentClass PersistentClass, persister EntityPersister, creationContext PersisterCreationContext) in class org.hibernate.tuple.entity.EntityMetamodel | From | To | |
Rename Parameter name : String to attributeName : String in method protected handleWrite(target Object, attributeName String, oldValue Object, newValue Object) : Object in class org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor | From | To |