19eb6d625c8460d38f1c4f0642440ca3cb4f3d37
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 26
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method package loadClassPreconditions() : void renamed to package tryToLoadClassPreconditions() : void in class org.junit.platform.commons.util.ReflectionUtilsTests | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type loadClass : BiFunction<String,ClassLoader,Optional<Class<?>>> to loadClass : BiFunction<String,ClassLoader,Try<Class<?>>> in method package ClasspathScanner(classLoaderSupplier Supplier<ClassLoader>, loadClass BiFunction<String,ClassLoader,Try<Class<?>>>) in class org.junit.platform.commons.util.ClasspathScanner | From | To | |
Change Return Type | 1 | ||
Change Return Type Optional<Class<?>> to Class<?> in method private loadArrayType(classLoader ClassLoader, componentTypeName String, dimensions int) : Class<?> in class org.junit.platform.commons.util.ReflectionUtils | From | To | |
Extract Method | 6 | ||
Extract Method public tryToGetMethod(clazz Class<?>, methodName String, parameterTypes Class<?>...) : Try<Method> extracted from package getMethod(clazz Class<?>, methodName String, parameterTypes Class<?>...) : Optional<Method> in class org.junit.platform.commons.util.ReflectionUtils | From | To | |
Extract Method public tryToReadFieldValue(field Field) : Try<Object> extracted from public readFieldValue(field Field) : Optional<Object> in class org.junit.platform.commons.util.ReflectionUtils | From | To | |
Extract Method public tryToReadFieldValue(clazz Class<T>, fieldName String, instance T) : Try<Object> extracted from public readFieldValue(clazz Class<T>, fieldName String, instance T) : Optional<Object> in class org.junit.platform.commons.util.ReflectionUtils | From | To | |
Extract Method public tryToLoadClass(name String, classLoader ClassLoader) : Try<Class<?>> extracted from public loadClass(name String, classLoader ClassLoader) : Optional<Class<?>> in class org.junit.platform.commons.util.ReflectionUtils | From | To | |
Extract Method public tryToReadFieldValue(field Field, instance Object) : Try<Object> extracted from public readFieldValue(field Field, instance T) : Optional<Object> in class org.junit.platform.commons.util.ReflectionUtils | From | To | |
Extract Method public tryToLoadClass(name String) : Try<Class<?>> extracted from public loadClass(name String) : Optional<Class<?>> in class org.junit.platform.commons.util.ReflectionUtils | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type loadClass : BiFunction<String,ClassLoader,Optional<Class<?>>> to loadClass : BiFunction<String,ClassLoader,Try<Class<?>>> in class org.junit.platform.commons.util.ClasspathScanner | From | To | |
Change Attribute Type trackingClassLoader : BiFunction<String,ClassLoader,Optional<Class<?>>> to trackingClassLoader : BiFunction<String,ClassLoader,Try<Class<?>>> in class org.junit.platform.commons.util.ClasspathScannerTests | From | To |