4639549b8180a89e76fa09a510d725f6181bba1a
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method private injectResource(saga Saga, setterMethod Method, resource Object) : void renamed to private injectMethodResource(saga Saga, injectMethod Method, resource Object) : void in class org.axonframework.saga.SimpleResourceInjector | From | To | |
Rename Method public testInjectResource() : void renamed to public testInjectFieldResource() : void in class org.axonframework.saga.SimpleResourceInjectorTest | From | To | |
Rename Method public getSomeResource() : SomeResource renamed to public getSomeMethodResource() : SomeMethodResource in class org.axonframework.saga.SimpleResourceInjectorTest.StubSaga | From | To | |
Rename Method public setSomeResource(someResource SomeResource) : void renamed to public setSomeMethodResource(someMethodResource SomeMethodResource) : void in class org.axonframework.saga.SimpleResourceInjectorTest.StubSaga | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type annotationType : Class<T> to annotationType : String in method private getAnnotation(target Class<? extends Annotation>, annotationType String, visited Set<String>) : Annotation in class org.axonframework.common.annotation.AnnotationUtils | From | To | |
Change Parameter Type visited : Set<Class<? extends Annotation>> to visited : Set<String> in method private getAnnotation(target Class<? extends Annotation>, annotationType String, visited Set<String>) : Annotation in class org.axonframework.common.annotation.AnnotationUtils | From | To | |
Change Parameter Type someResource : SomeResource to someMethodResource : SomeMethodResource in method public setSomeMethodResource(someMethodResource SomeMethodResource) : void in class org.axonframework.saga.SimpleResourceInjectorTest.StubSaga | From | To | |
Rename Variable | 1 | ||
Rename Variable resource : SomeResource to expectedFieldResource : SomeFieldResource in method public testInjectFieldResource() : void in class org.axonframework.saga.SimpleResourceInjectorTest | From | To | |
Change Return Type | 2 | ||
Change Return Type T to Annotation in method private getAnnotation(target Class<? extends Annotation>, annotationType String, visited Set<String>) : Annotation in class org.axonframework.common.annotation.AnnotationUtils | From | To | |
Change Return Type SomeResource to SomeMethodResource in method public getSomeMethodResource() : SomeMethodResource in class org.axonframework.saga.SimpleResourceInjectorTest.StubSaga | From | To | |
Rename Class | 1 | ||
Rename Class org.axonframework.saga.SimpleResourceInjectorTest.SomeResource renamed to org.axonframework.saga.SimpleResourceInjectorTest.SomeFieldResource | From | To | |
Rename Attribute | 1 | ||
Rename Attribute someResource : SomeResource to someMethodResource : SomeMethodResource in class org.axonframework.saga.SimpleResourceInjectorTest.StubSaga | From | To | |
Change Variable Type | 3 | ||
Change Variable Type visited : HashSet<Class<? extends Annotation>> to visited : Set<String> in method public findAnnotation(element AnnotatedElement, annotationType String) : Annotation in class org.axonframework.common.annotation.AnnotationUtils | From | To | |
Change Variable Type resource : SomeResource to expectedFieldResource : SomeFieldResource in method public testInjectFieldResource() : void in class org.axonframework.saga.SimpleResourceInjectorTest | From | To | |
Change Variable Type resource : SomeResource to resource : SomeMethodResource in method public testInjectResource_ExceptionsIgnored() : void in class org.axonframework.saga.SimpleResourceInjectorTest | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type someResource : SomeResource to someMethodResource : SomeMethodResource in class org.axonframework.saga.SimpleResourceInjectorTest.StubSaga | From | To | |
Extract Method | 2 | ||
Extract Method public findAnnotation(element AnnotatedElement, annotationType String) : Annotation extracted from public findAnnotation(element AnnotatedElement, annotationType Class<T>) : T in class org.axonframework.common.annotation.AnnotationUtils | From | To | |
Extract Method private injectMethodResources(saga Saga) : void extracted from public injectResources(saga Saga) : void in class org.axonframework.saga.SimpleResourceInjector | From | To | |
Rename Parameter | 2 | ||
Rename Parameter setterMethod : Method to injectMethod : Method in method private injectMethodResource(saga Saga, injectMethod Method, resource Object) : void in class org.axonframework.saga.SimpleResourceInjector | From | To | |
Rename Parameter someResource : SomeResource to someMethodResource : SomeMethodResource in method public setSomeMethodResource(someMethodResource SomeMethodResource) : void in class org.axonframework.saga.SimpleResourceInjectorTest.StubSaga | From | To |