a1cc43b5521f756929f6e25ad650375545b099de
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method private createAssumption(assertionType Class<ASSERTION>) : Class<? extends ASSERTION> renamed to private createAssumptionClass(assertClass Class<ASSERTION>) : Class<? extends ASSERTION> in class org.assertj.core.api.Assumptions | From | To | |
Rename Method package create(assertClass Class<V>, actualClass Class<T>, actual T) : V renamed to package createSoftAssertionProxy(assertClass Class<V>, actualClass Class<T>, actual T) : V in class org.assertj.core.api.SoftProxies | From | To | |
Move Method | 2 | ||
Move Method private classLoadingStrategy(assertClass Class<?>) : ClassLoadingStrategy<ClassLoader> from class org.assertj.core.api.SoftProxies to package classLoadingStrategy(assertClass Class<?>) : ClassLoadingStrategy<ClassLoader> from class org.assertj.core.api.ClassLoadingStrategyFactory | From | To | |
Move Method private classLoadingStrategy(assertClass Class<?>) : ClassLoadingStrategy<ClassLoader> from class org.assertj.core.api.Assumptions to package classLoadingStrategy(assertClass Class<?>) : ClassLoadingStrategy<ClassLoader> from class org.assertj.core.api.ClassLoadingStrategyFactory | From | To | |
Rename Variable | 5 | ||
Rename Variable e : AssertionError to assertionError : AssertionError in method public intercept(errorCollector ErrorCollector, assertion Object, proxy Callable<?>, method Method, stub Object) : Object in class org.assertj.core.api.ErrorCollector | From | To | |
Rename Variable instance : MapSizeAssert<?,?> to proxiedAssert : MapSizeAssert<?,?> in method package createMapSizeAssertProxy(mapSizeAssert MapSizeAssert<?,?>) : MapSizeAssert<?,?> in class org.assertj.core.api.SoftProxies | From | To | |
Rename Variable returnResult : Object to result : Object in method public intercept(errorCollector ErrorCollector, assertion Object, proxy Callable<?>, method Method, stub Object) : Object in class org.assertj.core.api.ErrorCollector | From | To | |
Rename Variable instance : IterableSizeAssert<?> to proxiedAssert : IterableSizeAssert<?> in method package createIterableSizeAssertProxy(iterableSizeAssert IterableSizeAssert<?>) : IterableSizeAssert<?> in class org.assertj.core.api.SoftProxies | From | To | |
Rename Variable proxyInstance : V to proxiedAssert : V in method package createSoftAssertionProxy(assertClass Class<V>, actualClass Class<T>, actual T) : V in class org.assertj.core.api.SoftProxies | From | To | |
Move Attribute | 4 | ||
Move Attribute private PRIVATE_LOOKUP_IN : Method from class org.assertj.core.api.Assumptions to private PRIVATE_LOOKUP_IN : Method from class org.assertj.core.api.ClassLoadingStrategyFactory | From | To | |
Move Attribute private LOOKUP : MethodHandles.Lookup from class org.assertj.core.api.Assumptions to private LOOKUP : MethodHandles.Lookup from class org.assertj.core.api.ClassLoadingStrategyFactory | From | To | |
Move Attribute private PRIVATE_LOOKUP_IN : Method from class org.assertj.core.api.SoftProxies to private PRIVATE_LOOKUP_IN : Method from class org.assertj.core.api.ClassLoadingStrategyFactory | From | To | |
Move Attribute private LOOKUP : MethodHandles.Lookup from class org.assertj.core.api.SoftProxies to private LOOKUP : MethodHandles.Lookup from class org.assertj.core.api.ClassLoadingStrategyFactory | From | To | |
Extract Class | 2 | ||
Extract Class org.assertj.core.api.ClassLoadingStrategyFactory from class org.assertj.core.api.SoftProxies | From | To | |
Extract Class org.assertj.core.api.ClassLoadingStrategyFactory from class org.assertj.core.api.Assumptions | From | To | |
Extract Method | 5 | ||
Extract Method private asIterableSizeAssumption(assertion AbstractAssert<?,?>) : AbstractAssert<?,?> extracted from private asAssumption(assertion AbstractAssert<?,?>) : AbstractAssert<?,?> in class org.assertj.core.api.Assumptions | From | To | |
Extract Method private createIterableSizeAssertProxy(currentActual Object) : IterableSizeAssert<?> extracted from protected createAssertProxy(currentActual Object) : AbstractAssert in class org.assertj.core.api.ProxifyMethodChangingTheObjectUnderTest | From | To | |
Extract Method protected collectAssertionError(error AssertionError, errorCollector ErrorCollector) : void extracted from public intercept(errorCollector ErrorCollector, assertion Object, proxy Callable<?>, method Method, stub Object) : Object in class org.assertj.core.api.ErrorCollector | From | To | |
Extract Method private createMapSizeAssertProxy(currentActual Object) : MapSizeAssert<?,?> extracted from protected createAssertProxy(currentActual Object) : AbstractAssert in class org.assertj.core.api.ProxifyMethodChangingTheObjectUnderTest | From | To | |
Extract Method private asMapSizeAssumption(assertion AbstractAssert<?,?>) : AbstractAssert<?,?> extracted from private asAssumption(assertion AbstractAssert<?,?>) : AbstractAssert<?,?> in class org.assertj.core.api.Assumptions | From | To | |
Rename Parameter | 1 | ||
Rename Parameter assertionType : Class<ASSERTION> to assertClass : Class<ASSERTION> in method private createAssumptionClass(assertClass Class<ASSERTION>) : Class<? extends ASSERTION> in class org.assertj.core.api.Assumptions | From | To |