610b0cf7c016aef41569ca32af683201d0864541
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public testAnnotatedFieldMustContainGenericParameterWhenTypeIsNotExplicitlyDefined() : void renamed to public testAnnotatedMapFieldMustContainGenericParameterWhenTypeIsNotExplicitlyDefined() : void in class org.axonframework.commandhandling.annotation.AggregateAnnotationCommandHandlerTest | From | To | |
Rename Method public testCommandHandledByEntityFromCollection_NullIdInEvent() : void renamed to public testCommandHandledByEntityFromCollection_NullIdInCommand() : void in class org.axonframework.commandhandling.annotation.AggregateAnnotationCommandHandlerTest | From | To | |
Pull Up Method | 2 | ||
Pull Up Method public entityType() : Class<?> from class org.axonframework.commandhandling.annotation.AggregateCommandHandlerInspector.EntityCollectionFieldAccessor to public entityType() : Class<?> from class org.axonframework.commandhandling.annotation.AggregateCommandHandlerInspector.MultipleEntityFieldAccessor | From | To | |
Pull Up Method public getInstance(aggregateRoot Object, command CommandMessage<?>) : Object from class org.axonframework.commandhandling.annotation.AggregateCommandHandlerInspector.EntityCollectionFieldAccessor to public getInstance(aggregateRoot Object, command CommandMessage<?>) : Object from class org.axonframework.commandhandling.annotation.AggregateCommandHandlerInspector.MultipleEntityFieldAccessor | From | To | |
Pull Up Attribute | 3 | ||
Pull Up Attribute private field : Field from class org.axonframework.commandhandling.annotation.AggregateCommandHandlerInspector.EntityCollectionFieldAccessor to private field : Field from class org.axonframework.commandhandling.annotation.AggregateCommandHandlerInspector.MultipleEntityFieldAccessor | From | To | |
Pull Up Attribute private entityAccessor : EntityAccessor from class org.axonframework.commandhandling.annotation.AggregateCommandHandlerInspector.EntityCollectionFieldAccessor to private entityAccessor : EntityAccessor from class org.axonframework.commandhandling.annotation.AggregateCommandHandlerInspector.MultipleEntityFieldAccessor | From | To | |
Pull Up Attribute private entityType : Class<?> from class org.axonframework.commandhandling.annotation.AggregateCommandHandlerInspector.EntityCollectionFieldAccessor to private entityType : Class<?> from class org.axonframework.commandhandling.annotation.AggregateCommandHandlerInspector.MultipleEntityFieldAccessor | From | To | |
Rename Class | 2 | ||
Rename Class org.axonframework.commandhandling.annotation.AggregateAnnotationCommandHandlerTest.FieldWithoutGenerics renamed to org.axonframework.commandhandling.annotation.AggregateAnnotationCommandHandlerTest.MapFieldWithoutGenerics | From | To | |
Rename Class org.axonframework.commandhandling.annotation.AggregateAnnotationCommandHandlerTest.WrongAnnotatedField renamed to org.axonframework.commandhandling.annotation.AggregateAnnotationCommandHandlerTest.AnnotatedFieldIsNotMap | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.axonframework.commandhandling.annotation.AggregateCommandHandlerInspector.MultipleEntityFieldAccessor from classes [org.axonframework.commandhandling.annotation.AggregateCommandHandlerInspector.EntityCollectionFieldAccessor] | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type wrongField : List to wrongField : Map in class org.axonframework.commandhandling.annotation.AggregateAnnotationCommandHandlerTest.MapFieldWithoutGenerics | From | To | |
Change Attribute Type wrongField : Map<String,String> to wrongField : Set<String> in class org.axonframework.commandhandling.annotation.AggregateAnnotationCommandHandlerTest.AnnotatedFieldIsNotMap | From | To | |
Extract Method | 1 | ||
Extract Method private determineEntityType(entityType Class<?>, field Field, genericTypeIndex int) : Class<?> extracted from private processNestedEntityCommandHandlers(targetType Class<?>, parameterResolverFactory ParameterResolverFactory, entityAccessor EntityAccessor) : void in class org.axonframework.commandhandling.annotation.AggregateCommandHandlerInspector | From | To |