From e1ca291c8d564cd77f3e0a900e4e66a4201d8fea Mon Sep 17 00:00:00 2001 From: tsantalis Date: Wed, 9 Oct 2024 11:49:48 -0400 Subject: [PATCH] All refactorings generate description with qualified types, when present This will help to make comparisons with other tools --- .../diff/AddMethodAnnotationRefactoring.java | 2 +- .../diff/AddMethodModifierRefactoring.java | 2 +- .../xmi/diff/AddParameterRefactoring.java | 2 +- .../AddThrownExceptionTypeRefactoring.java | 2 +- .../AddVariableAnnotationRefactoring.java | 2 +- .../diff/AddVariableModifierRefactoring.java | 2 +- .../xmi/diff/AssertThrowsRefactoring.java | 2 +- ...ngeOperationAccessModifierRefactoring.java | 2 +- .../xmi/diff/ChangeReturnTypeRefactoring.java | 2 +- .../ChangeThrownExceptionTypeRefactoring.java | 2 +- .../diff/ChangeVariableTypeRefactoring.java | 2 +- .../xmi/diff/ExtractOperationRefactoring.java | 4 +- .../xmi/diff/ExtractVariableRefactoring.java | 2 +- .../xmi/diff/InlineOperationRefactoring.java | 6 +- .../xmi/diff/InlineVariableRefactoring.java | 2 +- .../xmi/diff/InvertConditionRefactoring.java | 2 +- .../java/xmi/diff/MergeCatchRefactoring.java | 2 +- .../xmi/diff/MergeConditionalRefactoring.java | 2 +- .../xmi/diff/MergeOperationRefactoring.java | 8 +- .../xmi/diff/MergeVariableRefactoring.java | 2 +- .../ModifyMethodAnnotationRefactoring.java | 2 +- .../ModifyVariableAnnotationRefactoring.java | 2 +- .../java/xmi/diff/MoveCodeRefactoring.java | 4 +- .../xmi/diff/MoveOperationRefactoring.java | 4 +- .../xmi/diff/ParameterizeTestRefactoring.java | 4 +- .../RemoveMethodAnnotationRefactoring.java | 2 +- .../diff/RemoveMethodModifierRefactoring.java | 2 +- .../xmi/diff/RemoveParameterRefactoring.java | 2 +- .../RemoveThrownExceptionTypeRefactoring.java | 2 +- .../RemoveVariableAnnotationRefactoring.java | 2 +- .../RemoveVariableModifierRefactoring.java | 2 +- .../xmi/diff/RenameOperationRefactoring.java | 4 +- .../xmi/diff/RenameVariableRefactoring.java | 2 +- .../xmi/diff/ReorderParameterRefactoring.java | 2 +- ...ReplaceAnonymousWithLambdaRefactoring.java | 2 +- ...laceConditionalWithTernaryRefactoring.java | 2 +- .../ReplaceGenericWithDiamondRefactoring.java | 2 +- .../ReplaceLoopWithPipelineRefactoring.java | 2 +- .../ReplacePipelineWithLoopRefactoring.java | 2 +- .../xmi/diff/SplitConditionalRefactoring.java | 2 +- .../xmi/diff/SplitOperationRefactoring.java | 8 +- .../xmi/diff/SplitVariableRefactoring.java | 2 +- .../xmi/diff/TryWithResourcesRefactoring.java | 2 +- src/test/resources/oracle/data.json | 136 +++++++++--------- 44 files changed, 128 insertions(+), 120 deletions(-) diff --git a/src/main/java/gr/uom/java/xmi/diff/AddMethodAnnotationRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/AddMethodAnnotationRefactoring.java index 846dd1b5f0..ff03f4afb9 100644 --- a/src/main/java/gr/uom/java/xmi/diff/AddMethodAnnotationRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/AddMethodAnnotationRefactoring.java @@ -86,7 +86,7 @@ public String toString() { sb.append(getName()).append("\t"); sb.append(annotation); sb.append(" in method "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class "); sb.append(operationAfter.getClassName()); return sb.toString(); diff --git a/src/main/java/gr/uom/java/xmi/diff/AddMethodModifierRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/AddMethodModifierRefactoring.java index 72fb8e0f66..cf0ec2c4e6 100644 --- a/src/main/java/gr/uom/java/xmi/diff/AddMethodModifierRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/AddMethodModifierRefactoring.java @@ -91,7 +91,7 @@ public String toString() { sb.append(getName()).append("\t"); sb.append(modifier); sb.append(" in method "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class "); sb.append(operationAfter.getClassName()); return sb.toString(); diff --git a/src/main/java/gr/uom/java/xmi/diff/AddParameterRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/AddParameterRefactoring.java index 0a789454fb..f957ccf2ad 100644 --- a/src/main/java/gr/uom/java/xmi/diff/AddParameterRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/AddParameterRefactoring.java @@ -85,7 +85,7 @@ public String toString() { sb.append(getName()).append("\t"); sb.append(parameter.getVariableDeclaration()); sb.append(" in method "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class "); sb.append(operationAfter.getClassName()); return sb.toString(); diff --git a/src/main/java/gr/uom/java/xmi/diff/AddThrownExceptionTypeRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/AddThrownExceptionTypeRefactoring.java index d3994b737a..0e42a76eb8 100644 --- a/src/main/java/gr/uom/java/xmi/diff/AddThrownExceptionTypeRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/AddThrownExceptionTypeRefactoring.java @@ -85,7 +85,7 @@ public String toString() { sb.append(getName()).append("\t"); sb.append(exceptionType); sb.append(" in method "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class "); sb.append(operationAfter.getClassName()); return sb.toString(); diff --git a/src/main/java/gr/uom/java/xmi/diff/AddVariableAnnotationRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/AddVariableAnnotationRefactoring.java index 8fe053ea2d..dba6b16597 100644 --- a/src/main/java/gr/uom/java/xmi/diff/AddVariableAnnotationRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/AddVariableAnnotationRefactoring.java @@ -125,7 +125,7 @@ public String toString() { sb.append(variableAfter); String elementType = operationAfter.getElementType(); sb.append(" in " + elementType + " "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class "); sb.append(operationAfter.getClassName()); return sb.toString(); diff --git a/src/main/java/gr/uom/java/xmi/diff/AddVariableModifierRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/AddVariableModifierRefactoring.java index fa4d10cd96..d1d3cda8ad 100644 --- a/src/main/java/gr/uom/java/xmi/diff/AddVariableModifierRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/AddVariableModifierRefactoring.java @@ -131,7 +131,7 @@ public String toString() { sb.append(variableAfter); String elementType = operationAfter.getElementType(); sb.append(" in " + elementType + " "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class "); sb.append(operationAfter.getClassName()); return sb.toString(); diff --git a/src/main/java/gr/uom/java/xmi/diff/AssertThrowsRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/AssertThrowsRefactoring.java index 089791a3a6..72743a8402 100644 --- a/src/main/java/gr/uom/java/xmi/diff/AssertThrowsRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/AssertThrowsRefactoring.java @@ -129,7 +129,7 @@ public String toString() { sb.append(string.contains("\n") ? string.substring(0, string.indexOf("\n")) : string); String elementType = operationAfter.getElementType(); sb.append(" in " + elementType + " "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class "); sb.append(operationAfter.getClassName()); return sb.toString(); diff --git a/src/main/java/gr/uom/java/xmi/diff/ChangeOperationAccessModifierRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/ChangeOperationAccessModifierRefactoring.java index 061b2b3289..5f695fcab9 100644 --- a/src/main/java/gr/uom/java/xmi/diff/ChangeOperationAccessModifierRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/ChangeOperationAccessModifierRefactoring.java @@ -110,7 +110,7 @@ public String toString() { sb.append(" to "); sb.append(changedAccessModifier); sb.append(" in method "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class ").append(operationAfter.getClassName()); return sb.toString(); } diff --git a/src/main/java/gr/uom/java/xmi/diff/ChangeReturnTypeRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/ChangeReturnTypeRefactoring.java index 881c49c968..be4f8a399b 100644 --- a/src/main/java/gr/uom/java/xmi/diff/ChangeReturnTypeRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/ChangeReturnTypeRefactoring.java @@ -65,7 +65,7 @@ public String toString() { sb.append(" to "); sb.append(qualified ? changedType.toQualifiedString() : changedType.toString()); sb.append(" in method "); - sb.append(qualified ? operationAfter.toQualifiedString() : operationAfter.toString()); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class ").append(operationAfter.getClassName()); return sb.toString(); } diff --git a/src/main/java/gr/uom/java/xmi/diff/ChangeThrownExceptionTypeRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/ChangeThrownExceptionTypeRefactoring.java index 55a757d348..abc7c034f1 100644 --- a/src/main/java/gr/uom/java/xmi/diff/ChangeThrownExceptionTypeRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/ChangeThrownExceptionTypeRefactoring.java @@ -101,7 +101,7 @@ public String toString() { sb.append(" to "); sb.append(changedTypes.size() == 1 ? changedTypes.iterator().next() : changedTypes); sb.append(" in method "); - sb.append(operationAfter.toString()); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class ").append(operationAfter.getClassName()); return sb.toString(); } diff --git a/src/main/java/gr/uom/java/xmi/diff/ChangeVariableTypeRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/ChangeVariableTypeRefactoring.java index 808861134a..d3fce3e487 100644 --- a/src/main/java/gr/uom/java/xmi/diff/ChangeVariableTypeRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/ChangeVariableTypeRefactoring.java @@ -85,7 +85,7 @@ public String toString() { sb.append(qualified ? changedTypeVariable.toQualifiedString() : changedTypeVariable.toString()); String elementType = operationAfter.getElementType(); sb.append(" in " + elementType + " "); - sb.append(qualified ? operationAfter.toQualifiedString() : operationAfter.toString()); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class ").append(operationAfter.getClassName()); return sb.toString(); } diff --git a/src/main/java/gr/uom/java/xmi/diff/ExtractOperationRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/ExtractOperationRefactoring.java index 58d0b8027f..3cb7b28d2a 100644 --- a/src/main/java/gr/uom/java/xmi/diff/ExtractOperationRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/ExtractOperationRefactoring.java @@ -295,9 +295,9 @@ private int indexInArguments(AbstractCall call, LeafExpression expression, int o public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getName()).append("\t"); - sb.append(extractedOperation); + sb.append(extractedOperation.toQualifiedString()); sb.append(" extracted from "); - sb.append(sourceOperationBeforeExtraction); + sb.append(sourceOperationBeforeExtraction.toQualifiedString()); sb.append(" in class "); sb.append(getClassName()); if(getRefactoringType().equals(RefactoringType.EXTRACT_AND_MOVE_OPERATION)) { diff --git a/src/main/java/gr/uom/java/xmi/diff/ExtractVariableRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/ExtractVariableRefactoring.java index 00f6d68a3b..7d01993aa1 100644 --- a/src/main/java/gr/uom/java/xmi/diff/ExtractVariableRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/ExtractVariableRefactoring.java @@ -108,7 +108,7 @@ public String toString() { sb.append(variableDeclaration); String elementType = operationAfter.getElementType(); sb.append(" in " + elementType + " "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class "); sb.append(operationAfter.getClassName()); return sb.toString(); diff --git a/src/main/java/gr/uom/java/xmi/diff/InlineOperationRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/InlineOperationRefactoring.java index e3ba1d54d9..1bcafd08ad 100644 --- a/src/main/java/gr/uom/java/xmi/diff/InlineOperationRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/InlineOperationRefactoring.java @@ -231,10 +231,10 @@ private int indexInArguments(AbstractCall call, LeafExpression expression, int o public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getName()).append("\t"); - sb.append(inlinedOperation); + sb.append(inlinedOperation.toQualifiedString()); if(getRefactoringType().equals(RefactoringType.INLINE_OPERATION)) { sb.append(" inlined to "); - sb.append(targetOperationAfterInline); + sb.append(targetOperationAfterInline.toQualifiedString()); sb.append(" in class "); sb.append(getClassName()); } @@ -244,7 +244,7 @@ else if(getRefactoringType().equals(RefactoringType.MOVE_AND_INLINE_OPERATION)) sb.append(" to class "); sb.append(getTargetOperationAfterInline().getClassName()); sb.append(" & inlined to "); - sb.append(getTargetOperationAfterInline()); + sb.append(getTargetOperationAfterInline().toQualifiedString()); } return sb.toString(); } diff --git a/src/main/java/gr/uom/java/xmi/diff/InlineVariableRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/InlineVariableRefactoring.java index e58bc34a46..79513fd219 100644 --- a/src/main/java/gr/uom/java/xmi/diff/InlineVariableRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/InlineVariableRefactoring.java @@ -107,7 +107,7 @@ public String toString() { sb.append(variableDeclaration); String elementType = operationBefore.getElementType(); sb.append(" in " + elementType + " "); - sb.append(operationBefore); + sb.append(operationBefore.toQualifiedString()); sb.append(" from class "); sb.append(operationBefore.getClassName()); return sb.toString(); diff --git a/src/main/java/gr/uom/java/xmi/diff/InvertConditionRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/InvertConditionRefactoring.java index 606ab882ed..a08f09c321 100644 --- a/src/main/java/gr/uom/java/xmi/diff/InvertConditionRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/InvertConditionRefactoring.java @@ -105,7 +105,7 @@ public String toString() { sb.append(newConditional); String elementType = operationAfter.getElementType(); sb.append(" in " + elementType + " "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class ").append(operationAfter.getClassName()); return sb.toString(); } diff --git a/src/main/java/gr/uom/java/xmi/diff/MergeCatchRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/MergeCatchRefactoring.java index 70a6ad0b6a..b94b3531f8 100644 --- a/src/main/java/gr/uom/java/xmi/diff/MergeCatchRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/MergeCatchRefactoring.java @@ -119,7 +119,7 @@ public String toString() { sb.append(catchString); String elementType = operationAfter.getElementType(); sb.append(" in " + elementType + " "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class ").append(operationAfter.getClassName()); return sb.toString(); } diff --git a/src/main/java/gr/uom/java/xmi/diff/MergeConditionalRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/MergeConditionalRefactoring.java index 9fbdb8facc..7427a92e31 100644 --- a/src/main/java/gr/uom/java/xmi/diff/MergeConditionalRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/MergeConditionalRefactoring.java @@ -138,7 +138,7 @@ public String toString() { sb.append(newConditional); String elementType = operationAfter.getElementType(); sb.append(" in " + elementType + " "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class ").append(operationAfter.getClassName()); return sb.toString(); } diff --git a/src/main/java/gr/uom/java/xmi/diff/MergeOperationRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/MergeOperationRefactoring.java index 4467a7c055..7e8142eb5d 100644 --- a/src/main/java/gr/uom/java/xmi/diff/MergeOperationRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/MergeOperationRefactoring.java @@ -99,9 +99,13 @@ public Set> getInvolvedClassesAfterRefactoring() { public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getName()).append("\t"); - sb.append(getMergedMethods()); + Set qualifiedNames = new LinkedHashSet(); + for(VariableDeclarationContainer container : getMergedMethods()) { + qualifiedNames.add(container.toQualifiedString()); + } + sb.append(qualifiedNames); sb.append(" to "); - sb.append(newMethodAfterMerge); + sb.append(newMethodAfterMerge.toQualifiedString()); sb.append(" in class ").append(classNameAfter); return sb.toString(); } diff --git a/src/main/java/gr/uom/java/xmi/diff/MergeVariableRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/MergeVariableRefactoring.java index 83e2aacf58..8ec284952f 100644 --- a/src/main/java/gr/uom/java/xmi/diff/MergeVariableRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/MergeVariableRefactoring.java @@ -95,7 +95,7 @@ public String toString() { sb.append(newVariable); String elementType = operationAfter.getElementType(); sb.append(" in " + elementType + " "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class ").append(operationAfter.getClassName()); return sb.toString(); } diff --git a/src/main/java/gr/uom/java/xmi/diff/ModifyMethodAnnotationRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/ModifyMethodAnnotationRefactoring.java index 1403416795..ee3ceb0fbe 100644 --- a/src/main/java/gr/uom/java/xmi/diff/ModifyMethodAnnotationRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/ModifyMethodAnnotationRefactoring.java @@ -97,7 +97,7 @@ public String toString() { sb.append(" to "); sb.append(annotationAfter); sb.append(" in method "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class "); sb.append(operationAfter.getClassName()); return sb.toString(); diff --git a/src/main/java/gr/uom/java/xmi/diff/ModifyVariableAnnotationRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/ModifyVariableAnnotationRefactoring.java index acdd7aed6d..afa6399088 100644 --- a/src/main/java/gr/uom/java/xmi/diff/ModifyVariableAnnotationRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/ModifyVariableAnnotationRefactoring.java @@ -135,7 +135,7 @@ public String toString() { sb.append(variableAfter); String elementType = operationAfter.getElementType(); sb.append(" in " + elementType + " "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class "); sb.append(operationAfter.getClassName()); return sb.toString(); diff --git a/src/main/java/gr/uom/java/xmi/diff/MoveCodeRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/MoveCodeRefactoring.java index 3b73b31bbd..c27537db3b 100644 --- a/src/main/java/gr/uom/java/xmi/diff/MoveCodeRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/MoveCodeRefactoring.java @@ -147,9 +147,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getName()).append("\t"); sb.append("from "); - sb.append(sourceContainer); + sb.append(sourceContainer.toQualifiedString()); sb.append(" to "); - sb.append(targetContainer); + sb.append(targetContainer.toQualifiedString()); sb.append(" in class "); sb.append(getClassName()); return sb.toString(); diff --git a/src/main/java/gr/uom/java/xmi/diff/MoveOperationRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/MoveOperationRefactoring.java index ff2d28094c..b436ce4429 100644 --- a/src/main/java/gr/uom/java/xmi/diff/MoveOperationRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/MoveOperationRefactoring.java @@ -29,11 +29,11 @@ public MoveOperationRefactoring(UMLOperationBodyMapper bodyMapper) { public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getName()).append("\t"); - sb.append(originalOperation); + sb.append(originalOperation.toQualifiedString()); sb.append(" from class "); sb.append(originalOperation.getClassName()); sb.append(" to "); - sb.append(movedOperation); + sb.append(movedOperation.toQualifiedString()); sb.append(" from class "); sb.append(movedOperation.getClassName()); return sb.toString(); diff --git a/src/main/java/gr/uom/java/xmi/diff/ParameterizeTestRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/ParameterizeTestRefactoring.java index a44d2b7da4..6dddbf0323 100644 --- a/src/main/java/gr/uom/java/xmi/diff/ParameterizeTestRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/ParameterizeTestRefactoring.java @@ -81,9 +81,9 @@ public Set> getInvolvedClassesAfterRefactoring() { public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getName()).append("\t"); - sb.append(removedOperation); + sb.append(removedOperation.toQualifiedString()); sb.append(" to "); - sb.append(parameterizedTestOperation); + sb.append(parameterizedTestOperation.toQualifiedString()); sb.append(" in class "); sb.append(parameterizedTestOperation.getClassName()); return sb.toString(); diff --git a/src/main/java/gr/uom/java/xmi/diff/RemoveMethodAnnotationRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/RemoveMethodAnnotationRefactoring.java index bd059357a0..544a379075 100644 --- a/src/main/java/gr/uom/java/xmi/diff/RemoveMethodAnnotationRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/RemoveMethodAnnotationRefactoring.java @@ -86,7 +86,7 @@ public String toString() { sb.append(getName()).append("\t"); sb.append(annotation); sb.append(" in method "); - sb.append(operationBefore); + sb.append(operationBefore.toQualifiedString()); sb.append(" from class "); sb.append(operationBefore.getClassName()); return sb.toString(); diff --git a/src/main/java/gr/uom/java/xmi/diff/RemoveMethodModifierRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/RemoveMethodModifierRefactoring.java index 870f63a256..a4120943cc 100644 --- a/src/main/java/gr/uom/java/xmi/diff/RemoveMethodModifierRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/RemoveMethodModifierRefactoring.java @@ -91,7 +91,7 @@ public String toString() { sb.append(getName()).append("\t"); sb.append(modifier); sb.append(" in method "); - sb.append(operationBefore); + sb.append(operationBefore.toQualifiedString()); sb.append(" from class "); sb.append(operationBefore.getClassName()); return sb.toString(); diff --git a/src/main/java/gr/uom/java/xmi/diff/RemoveParameterRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/RemoveParameterRefactoring.java index 531db1d602..1b38e7371c 100644 --- a/src/main/java/gr/uom/java/xmi/diff/RemoveParameterRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/RemoveParameterRefactoring.java @@ -86,7 +86,7 @@ public String toString() { sb.append(getName()).append("\t"); sb.append(parameter.getVariableDeclaration()); sb.append(" in method "); - sb.append(operationBefore); + sb.append(operationBefore.toQualifiedString()); sb.append(" from class "); sb.append(operationBefore.getClassName()); return sb.toString(); diff --git a/src/main/java/gr/uom/java/xmi/diff/RemoveThrownExceptionTypeRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/RemoveThrownExceptionTypeRefactoring.java index 558487975a..b443f7d375 100644 --- a/src/main/java/gr/uom/java/xmi/diff/RemoveThrownExceptionTypeRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/RemoveThrownExceptionTypeRefactoring.java @@ -85,7 +85,7 @@ public String toString() { sb.append(getName()).append("\t"); sb.append(exceptionType); sb.append(" in method "); - sb.append(operationBefore); + sb.append(operationBefore.toQualifiedString()); sb.append(" from class "); sb.append(operationBefore.getClassName()); return sb.toString(); diff --git a/src/main/java/gr/uom/java/xmi/diff/RemoveVariableAnnotationRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/RemoveVariableAnnotationRefactoring.java index b5688fbc75..1df3642350 100644 --- a/src/main/java/gr/uom/java/xmi/diff/RemoveVariableAnnotationRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/RemoveVariableAnnotationRefactoring.java @@ -125,7 +125,7 @@ public String toString() { sb.append(variableBefore); String elementType = operationBefore.getElementType(); sb.append(" in " + elementType + " "); - sb.append(operationBefore); + sb.append(operationBefore.toQualifiedString()); sb.append(" from class "); sb.append(operationBefore.getClassName()); return sb.toString(); diff --git a/src/main/java/gr/uom/java/xmi/diff/RemoveVariableModifierRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/RemoveVariableModifierRefactoring.java index 5e463b78d8..14fa0760ca 100644 --- a/src/main/java/gr/uom/java/xmi/diff/RemoveVariableModifierRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/RemoveVariableModifierRefactoring.java @@ -131,7 +131,7 @@ public String toString() { sb.append(variableBefore); String elementType = operationBefore.getElementType(); sb.append(" in " + elementType + " "); - sb.append(operationBefore); + sb.append(operationBefore.toQualifiedString()); sb.append(" from class "); sb.append(operationBefore.getClassName()); return sb.toString(); diff --git a/src/main/java/gr/uom/java/xmi/diff/RenameOperationRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/RenameOperationRefactoring.java index 2b027ce593..10ccda1e65 100644 --- a/src/main/java/gr/uom/java/xmi/diff/RenameOperationRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/RenameOperationRefactoring.java @@ -40,9 +40,9 @@ public RenameOperationRefactoring(UMLOperation originalOperation, UMLOperation r public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getName()).append("\t"); - sb.append(originalOperation); + sb.append(originalOperation.toQualifiedString()); sb.append(" renamed to "); - sb.append(renamedOperation); + sb.append(renamedOperation.toQualifiedString()); sb.append(" in class ").append(getClassName()); return sb.toString(); } diff --git a/src/main/java/gr/uom/java/xmi/diff/RenameVariableRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/RenameVariableRefactoring.java index ab0736811f..544f35d9d4 100644 --- a/src/main/java/gr/uom/java/xmi/diff/RenameVariableRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/RenameVariableRefactoring.java @@ -88,7 +88,7 @@ public String toString() { sb.append(renamedVariable); String elementType = operationAfter.getElementType(); sb.append(" in " + elementType + " "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class ").append(operationAfter.getClassName()); return sb.toString(); } diff --git a/src/main/java/gr/uom/java/xmi/diff/ReorderParameterRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/ReorderParameterRefactoring.java index a43c487d3f..dcf0f45539 100644 --- a/src/main/java/gr/uom/java/xmi/diff/ReorderParameterRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/ReorderParameterRefactoring.java @@ -107,7 +107,7 @@ public String toString() { sb.append(" to "); sb.append(parametersAfter); sb.append(" in method "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class ").append(operationAfter.getClassName()); return sb.toString(); } diff --git a/src/main/java/gr/uom/java/xmi/diff/ReplaceAnonymousWithLambdaRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/ReplaceAnonymousWithLambdaRefactoring.java index 25e9f955a0..c830fb1db1 100644 --- a/src/main/java/gr/uom/java/xmi/diff/ReplaceAnonymousWithLambdaRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/ReplaceAnonymousWithLambdaRefactoring.java @@ -104,7 +104,7 @@ public String toString() { sb.append(string.contains("\n") ? string.substring(0, string.indexOf("\n")) : string); String elementType = operationAfter.getElementType(); sb.append(" in " + elementType + " "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class "); sb.append(operationAfter.getClassName()); return sb.toString(); diff --git a/src/main/java/gr/uom/java/xmi/diff/ReplaceConditionalWithTernaryRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/ReplaceConditionalWithTernaryRefactoring.java index 20b069e958..107f368129 100644 --- a/src/main/java/gr/uom/java/xmi/diff/ReplaceConditionalWithTernaryRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/ReplaceConditionalWithTernaryRefactoring.java @@ -126,7 +126,7 @@ public String toString() { sb.append(newConditional); String elementType = operationAfter.getElementType(); sb.append(" in " + elementType + " "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class ").append(operationAfter.getClassName()); return sb.toString(); } diff --git a/src/main/java/gr/uom/java/xmi/diff/ReplaceGenericWithDiamondRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/ReplaceGenericWithDiamondRefactoring.java index 03164c9437..2e1b5dd43b 100644 --- a/src/main/java/gr/uom/java/xmi/diff/ReplaceGenericWithDiamondRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/ReplaceGenericWithDiamondRefactoring.java @@ -163,7 +163,7 @@ public String toString() { sb.append(extractType(creationAfter)); String elementType = operationAfter.getElementType(); sb.append(" in " + elementType + " "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class ").append(operationAfter.getClassName()); return sb.toString(); } diff --git a/src/main/java/gr/uom/java/xmi/diff/ReplaceLoopWithPipelineRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/ReplaceLoopWithPipelineRefactoring.java index 9d96feb1ad..a7c2cf2408 100644 --- a/src/main/java/gr/uom/java/xmi/diff/ReplaceLoopWithPipelineRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/ReplaceLoopWithPipelineRefactoring.java @@ -81,7 +81,7 @@ public String toString() { sb.append(pipeline.contains("\n") ? pipeline.substring(0, pipeline.indexOf("\n")) : pipeline); String elementType = operationAfter.getElementType(); sb.append(" in " + elementType + " "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class "); sb.append(operationAfter.getClassName()); return sb.toString(); diff --git a/src/main/java/gr/uom/java/xmi/diff/ReplacePipelineWithLoopRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/ReplacePipelineWithLoopRefactoring.java index d74a295193..186aee26ef 100644 --- a/src/main/java/gr/uom/java/xmi/diff/ReplacePipelineWithLoopRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/ReplacePipelineWithLoopRefactoring.java @@ -81,7 +81,7 @@ public String toString() { } String elementType = operationAfter.getElementType(); sb.append(" in " + elementType + " "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class "); sb.append(operationAfter.getClassName()); return sb.toString(); diff --git a/src/main/java/gr/uom/java/xmi/diff/SplitConditionalRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/SplitConditionalRefactoring.java index d37d319b7d..bc1d80ea86 100644 --- a/src/main/java/gr/uom/java/xmi/diff/SplitConditionalRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/SplitConditionalRefactoring.java @@ -138,7 +138,7 @@ public String toString() { sb.append("]"); String elementType = operationAfter.getElementType(); sb.append(" in " + elementType + " "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class ").append(operationAfter.getClassName()); return sb.toString(); } diff --git a/src/main/java/gr/uom/java/xmi/diff/SplitOperationRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/SplitOperationRefactoring.java index 3c6d1061e4..c64b4be11a 100644 --- a/src/main/java/gr/uom/java/xmi/diff/SplitOperationRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/SplitOperationRefactoring.java @@ -98,9 +98,13 @@ public Set> getInvolvedClassesAfterRefactoring() { public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getName()).append("\t"); - sb.append(originalMethodBeforeSplit); + sb.append(originalMethodBeforeSplit.toQualifiedString()); sb.append(" to "); - sb.append(getSplitMethods()); + Set qualifiedNames = new LinkedHashSet(); + for(VariableDeclarationContainer container : getSplitMethods()) { + qualifiedNames.add(container.toQualifiedString()); + } + sb.append(qualifiedNames); sb.append(" in class ").append(classNameAfter); return sb.toString(); } diff --git a/src/main/java/gr/uom/java/xmi/diff/SplitVariableRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/SplitVariableRefactoring.java index 83797b7608..b900664333 100644 --- a/src/main/java/gr/uom/java/xmi/diff/SplitVariableRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/SplitVariableRefactoring.java @@ -99,7 +99,7 @@ public String toString() { sb.append(splitVariables); String elementType = operationAfter.getElementType(); sb.append(" in " + elementType + " "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class ").append(operationAfter.getClassName()); return sb.toString(); } diff --git a/src/main/java/gr/uom/java/xmi/diff/TryWithResourcesRefactoring.java b/src/main/java/gr/uom/java/xmi/diff/TryWithResourcesRefactoring.java index 8f1477f1b0..b507996392 100644 --- a/src/main/java/gr/uom/java/xmi/diff/TryWithResourcesRefactoring.java +++ b/src/main/java/gr/uom/java/xmi/diff/TryWithResourcesRefactoring.java @@ -100,7 +100,7 @@ public String toString() { sb.append(tryAfter.toString()); String elementType = operationAfter.getElementType(); sb.append(" in " + elementType + " "); - sb.append(operationAfter); + sb.append(operationAfter.toQualifiedString()); sb.append(" from class "); sb.append(operationAfter.getClassName()); return sb.toString(); diff --git a/src/test/resources/oracle/data.json b/src/test/resources/oracle/data.json index f1d7db781d..9ffd1c07c0 100644 --- a/src/test/resources/oracle/data.json +++ b/src/test/resources/oracle/data.json @@ -2788,7 +2788,7 @@ "validators": "Laleh" }, { "type": "Move Method", - "description": "Move Method public getSplits(jobConf JobConf, numSplits int) : InputSplit[] from class org.apache.cassandra.hadoop.AbstractColumnFamilyInputFormat to public getSplits(jobConf JobConf, numSplits int) : InputSplit[] from class org.apache.cassandra.hadoop.cql3.CqlInputFormat", + "description": "Move Method public getSplits(jobConf JobConf, numSplits int) : org.apache.hadoop.mapred.InputSplit[] from class org.apache.cassandra.hadoop.AbstractColumnFamilyInputFormat to public getSplits(jobConf JobConf, numSplits int) : InputSplit[] from class org.apache.cassandra.hadoop.cql3.CqlInputFormat", "comment": "

Return type is non-qualified after the move

public org.apache.hadoop.mapred.InputSplit[] getSplits(JobConf jobConf, int numSplits) throws IOException
public InputSplit[] getSplits(JobConf jobConf, int numSplits) throws IOException

", "validation": "TP", "detectionTools": "RefactoringMiner, RD-1x, RD-2x, RMiner-1x", @@ -36225,28 +36225,28 @@ "validators": null }, { "type": "Add Parameter", - "description": "Add Parameter valueType : Class in method private testJavaMap(map Map, keyType Class, valueType Class, name String, _unsorted Integer[], _sorted Integer[], input String) : boolean from class com.jwetherell.algorithms.data_structures.timing.DataStructuresTiming", + "description": "Add Parameter valueType : Class in method private testJavaMap(map java.util.Map, keyType Class, valueType Class, name String, _unsorted Integer[], _sorted Integer[], input String) : boolean from class com.jwetherell.algorithms.data_structures.timing.DataStructuresTiming", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", "validators": null }, { "type": "Add Parameter", - "description": "Add Parameter _unsorted : Integer[] in method private testJavaMap(map Map, keyType Class, valueType Class, name String, _unsorted Integer[], _sorted Integer[], input String) : boolean from class com.jwetherell.algorithms.data_structures.timing.DataStructuresTiming", + "description": "Add Parameter _unsorted : Integer[] in method private testJavaMap(map java.util.Map, keyType Class, valueType Class, name String, _unsorted Integer[], _sorted Integer[], input String) : boolean from class com.jwetherell.algorithms.data_structures.timing.DataStructuresTiming", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", "validators": null }, { "type": "Add Parameter", - "description": "Add Parameter _sorted : Integer[] in method private testJavaMap(map Map, keyType Class, valueType Class, name String, _unsorted Integer[], _sorted Integer[], input String) : boolean from class com.jwetherell.algorithms.data_structures.timing.DataStructuresTiming", + "description": "Add Parameter _sorted : Integer[] in method private testJavaMap(map java.util.Map, keyType Class, valueType Class, name String, _unsorted Integer[], _sorted Integer[], input String) : boolean from class com.jwetherell.algorithms.data_structures.timing.DataStructuresTiming", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", "validators": null }, { "type": "Add Parameter", - "description": "Add Parameter input : String in method private testJavaMap(map Map, keyType Class, valueType Class, name String, _unsorted Integer[], _sorted Integer[], input String) : boolean from class com.jwetherell.algorithms.data_structures.timing.DataStructuresTiming", + "description": "Add Parameter input : String in method private testJavaMap(map java.util.Map, keyType Class, valueType Class, name String, _unsorted Integer[], _sorted Integer[], input String) : boolean from class com.jwetherell.algorithms.data_structures.timing.DataStructuresTiming", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", @@ -37744,7 +37744,7 @@ "validators": null }, { "type": "Replace Attribute With Variable", - "description": "Replace Attribute With Variable sorted : Integer[] to kSorted : K[] in method private testJavaMap(map Map, keyType Class, valueType Class, name String, _unsorted Integer[], _sorted Integer[], input String) : boolean from class com.jwetherell.algorithms.data_structures.timing.DataStructuresTiming", + "description": "Replace Attribute With Variable sorted : Integer[] to kSorted : K[] in method private testJavaMap(map java.util.Map, keyType Class, valueType Class, name String, _unsorted Integer[], _sorted Integer[], input String) : boolean from class com.jwetherell.algorithms.data_structures.timing.DataStructuresTiming", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", @@ -38689,21 +38689,21 @@ "validators": null }, { "type": "Rename Variable", - "description": "Rename Variable item : Integer to k : K in method private testJavaMap(map Map, keyType Class, valueType Class, name String, _unsorted Integer[], _sorted Integer[], input String) : boolean from class com.jwetherell.algorithms.data_structures.timing.DataStructuresTiming", + "description": "Rename Variable item : Integer to k : K in method private testJavaMap(map java.util.Map, keyType Class, valueType Class, name String, _unsorted Integer[], _sorted Integer[], input String) : boolean from class com.jwetherell.algorithms.data_structures.timing.DataStructuresTiming", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", "validators": null }, { "type": "Change Variable Type", - "description": "Change Variable Type item : Integer to k : K in method private testJavaMap(map Map, keyType Class, valueType Class, name String, _unsorted Integer[], _sorted Integer[], input String) : boolean from class com.jwetherell.algorithms.data_structures.timing.DataStructuresTiming", + "description": "Change Variable Type item : Integer to k : K in method private testJavaMap(map java.util.Map, keyType Class, valueType Class, name String, _unsorted Integer[], _sorted Integer[], input String) : boolean from class com.jwetherell.algorithms.data_structures.timing.DataStructuresTiming", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", "validators": null }, { "type": "Replace Attribute With Variable", - "description": "Replace Attribute With Variable unsorted : Integer[] to kUnsorted : K[] in method private testJavaMap(map Map, keyType Class, valueType Class, name String, _unsorted Integer[], _sorted Integer[], input String) : boolean from class com.jwetherell.algorithms.data_structures.timing.DataStructuresTiming", + "description": "Replace Attribute With Variable unsorted : Integer[] to kUnsorted : K[] in method private testJavaMap(map java.util.Map, keyType Class, valueType Class, name String, _unsorted Integer[], _sorted Integer[], input String) : boolean from class com.jwetherell.algorithms.data_structures.timing.DataStructuresTiming", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", @@ -48260,154 +48260,154 @@ "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public createFileSystemAsync(createFileSystemRequest CreateFileSystemRequest) : Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", + "description": "Add Method Annotation @Override in method public createFileSystemAsync(createFileSystemRequest CreateFileSystemRequest) : java.util.concurrent.Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public createFileSystemAsync(createFileSystemRequest CreateFileSystemRequest, asyncHandler AsyncHandler) : Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", + "description": "Add Method Annotation @Override in method public createFileSystemAsync(createFileSystemRequest CreateFileSystemRequest, asyncHandler com.amazonaws.handlers.AsyncHandler) : java.util.concurrent.Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public deleteMountTargetAsync(deleteMountTargetRequest DeleteMountTargetRequest) : Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", + "description": "Add Method Annotation @Override in method public deleteMountTargetAsync(deleteMountTargetRequest DeleteMountTargetRequest) : java.util.concurrent.Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public deleteMountTargetAsync(deleteMountTargetRequest DeleteMountTargetRequest, asyncHandler AsyncHandler) : Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", + "description": "Add Method Annotation @Override in method public deleteMountTargetAsync(deleteMountTargetRequest DeleteMountTargetRequest, asyncHandler com.amazonaws.handlers.AsyncHandler) : java.util.concurrent.Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public describeFileSystemsAsync(describeFileSystemsRequest DescribeFileSystemsRequest) : Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", + "description": "Add Method Annotation @Override in method public describeFileSystemsAsync(describeFileSystemsRequest DescribeFileSystemsRequest) : java.util.concurrent.Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public describeFileSystemsAsync(describeFileSystemsRequest DescribeFileSystemsRequest, asyncHandler AsyncHandler) : Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", + "description": "Add Method Annotation @Override in method public describeFileSystemsAsync(describeFileSystemsRequest DescribeFileSystemsRequest, asyncHandler com.amazonaws.handlers.AsyncHandler) : java.util.concurrent.Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public createTagsAsync(createTagsRequest CreateTagsRequest) : Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", + "description": "Add Method Annotation @Override in method public createTagsAsync(createTagsRequest CreateTagsRequest) : java.util.concurrent.Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public createTagsAsync(createTagsRequest CreateTagsRequest, asyncHandler AsyncHandler) : Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", + "description": "Add Method Annotation @Override in method public createTagsAsync(createTagsRequest CreateTagsRequest, asyncHandler com.amazonaws.handlers.AsyncHandler) : java.util.concurrent.Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public deleteFileSystemAsync(deleteFileSystemRequest DeleteFileSystemRequest) : Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", + "description": "Add Method Annotation @Override in method public deleteFileSystemAsync(deleteFileSystemRequest DeleteFileSystemRequest) : java.util.concurrent.Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public deleteFileSystemAsync(deleteFileSystemRequest DeleteFileSystemRequest, asyncHandler AsyncHandler) : Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", + "description": "Add Method Annotation @Override in method public deleteFileSystemAsync(deleteFileSystemRequest DeleteFileSystemRequest, asyncHandler com.amazonaws.handlers.AsyncHandler) : java.util.concurrent.Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public describeMountTargetsAsync(describeMountTargetsRequest DescribeMountTargetsRequest) : Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", + "description": "Add Method Annotation @Override in method public describeMountTargetsAsync(describeMountTargetsRequest DescribeMountTargetsRequest) : java.util.concurrent.Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public describeMountTargetsAsync(describeMountTargetsRequest DescribeMountTargetsRequest, asyncHandler AsyncHandler) : Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", + "description": "Add Method Annotation @Override in method public describeMountTargetsAsync(describeMountTargetsRequest DescribeMountTargetsRequest, asyncHandler com.amazonaws.handlers.AsyncHandler) : java.util.concurrent.Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public createMountTargetAsync(createMountTargetRequest CreateMountTargetRequest) : Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", + "description": "Add Method Annotation @Override in method public createMountTargetAsync(createMountTargetRequest CreateMountTargetRequest) : java.util.concurrent.Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public createMountTargetAsync(createMountTargetRequest CreateMountTargetRequest, asyncHandler AsyncHandler) : Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", + "description": "Add Method Annotation @Override in method public createMountTargetAsync(createMountTargetRequest CreateMountTargetRequest, asyncHandler com.amazonaws.handlers.AsyncHandler) : java.util.concurrent.Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public describeMountTargetSecurityGroupsAsync(describeMountTargetSecurityGroupsRequest DescribeMountTargetSecurityGroupsRequest) : Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", + "description": "Add Method Annotation @Override in method public describeMountTargetSecurityGroupsAsync(describeMountTargetSecurityGroupsRequest DescribeMountTargetSecurityGroupsRequest) : java.util.concurrent.Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public describeMountTargetSecurityGroupsAsync(describeMountTargetSecurityGroupsRequest DescribeMountTargetSecurityGroupsRequest, asyncHandler AsyncHandler) : Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", + "description": "Add Method Annotation @Override in method public describeMountTargetSecurityGroupsAsync(describeMountTargetSecurityGroupsRequest DescribeMountTargetSecurityGroupsRequest, asyncHandler com.amazonaws.handlers.AsyncHandler) : java.util.concurrent.Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public modifyMountTargetSecurityGroupsAsync(modifyMountTargetSecurityGroupsRequest ModifyMountTargetSecurityGroupsRequest) : Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", + "description": "Add Method Annotation @Override in method public modifyMountTargetSecurityGroupsAsync(modifyMountTargetSecurityGroupsRequest ModifyMountTargetSecurityGroupsRequest) : java.util.concurrent.Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public modifyMountTargetSecurityGroupsAsync(modifyMountTargetSecurityGroupsRequest ModifyMountTargetSecurityGroupsRequest, asyncHandler AsyncHandler) : Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", + "description": "Add Method Annotation @Override in method public modifyMountTargetSecurityGroupsAsync(modifyMountTargetSecurityGroupsRequest ModifyMountTargetSecurityGroupsRequest, asyncHandler com.amazonaws.handlers.AsyncHandler) : java.util.concurrent.Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public describeTagsAsync(describeTagsRequest DescribeTagsRequest) : Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", + "description": "Add Method Annotation @Override in method public describeTagsAsync(describeTagsRequest DescribeTagsRequest) : java.util.concurrent.Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public describeTagsAsync(describeTagsRequest DescribeTagsRequest, asyncHandler AsyncHandler) : Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", + "description": "Add Method Annotation @Override in method public describeTagsAsync(describeTagsRequest DescribeTagsRequest, asyncHandler com.amazonaws.handlers.AsyncHandler) : java.util.concurrent.Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public deleteTagsAsync(deleteTagsRequest DeleteTagsRequest) : Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", + "description": "Add Method Annotation @Override in method public deleteTagsAsync(deleteTagsRequest DeleteTagsRequest) : java.util.concurrent.Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public deleteTagsAsync(deleteTagsRequest DeleteTagsRequest, asyncHandler AsyncHandler) : Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", + "description": "Add Method Annotation @Override in method public deleteTagsAsync(deleteTagsRequest DeleteTagsRequest, asyncHandler com.amazonaws.handlers.AsyncHandler) : java.util.concurrent.Future from class com.amazonaws.services.elasticfilesystem.AmazonElasticFileSystemAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", @@ -48498,84 +48498,84 @@ "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public createJobAsync(createJobRequest CreateJobRequest) : Future from class com.amazonaws.services.importexport.AmazonImportExportAsyncClient", + "description": "Add Method Annotation @Override in method public createJobAsync(createJobRequest CreateJobRequest) : java.util.concurrent.Future from class com.amazonaws.services.importexport.AmazonImportExportAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public createJobAsync(createJobRequest CreateJobRequest, asyncHandler AsyncHandler) : Future from class com.amazonaws.services.importexport.AmazonImportExportAsyncClient", + "description": "Add Method Annotation @Override in method public createJobAsync(createJobRequest CreateJobRequest, asyncHandler com.amazonaws.handlers.AsyncHandler) : java.util.concurrent.Future from class com.amazonaws.services.importexport.AmazonImportExportAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public getShippingLabelAsync(getShippingLabelRequest GetShippingLabelRequest) : Future from class com.amazonaws.services.importexport.AmazonImportExportAsyncClient", + "description": "Add Method Annotation @Override in method public getShippingLabelAsync(getShippingLabelRequest GetShippingLabelRequest) : java.util.concurrent.Future from class com.amazonaws.services.importexport.AmazonImportExportAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public getShippingLabelAsync(getShippingLabelRequest GetShippingLabelRequest, asyncHandler AsyncHandler) : Future from class com.amazonaws.services.importexport.AmazonImportExportAsyncClient", + "description": "Add Method Annotation @Override in method public getShippingLabelAsync(getShippingLabelRequest GetShippingLabelRequest, asyncHandler com.amazonaws.handlers.AsyncHandler) : java.util.concurrent.Future from class com.amazonaws.services.importexport.AmazonImportExportAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public cancelJobAsync(cancelJobRequest CancelJobRequest) : Future from class com.amazonaws.services.importexport.AmazonImportExportAsyncClient", + "description": "Add Method Annotation @Override in method public cancelJobAsync(cancelJobRequest CancelJobRequest) : java.util.concurrent.Future from class com.amazonaws.services.importexport.AmazonImportExportAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public cancelJobAsync(cancelJobRequest CancelJobRequest, asyncHandler AsyncHandler) : Future from class com.amazonaws.services.importexport.AmazonImportExportAsyncClient", + "description": "Add Method Annotation @Override in method public cancelJobAsync(cancelJobRequest CancelJobRequest, asyncHandler com.amazonaws.handlers.AsyncHandler) : java.util.concurrent.Future from class com.amazonaws.services.importexport.AmazonImportExportAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public getStatusAsync(getStatusRequest GetStatusRequest) : Future from class com.amazonaws.services.importexport.AmazonImportExportAsyncClient", + "description": "Add Method Annotation @Override in method public getStatusAsync(getStatusRequest GetStatusRequest) : java.util.concurrent.Future from class com.amazonaws.services.importexport.AmazonImportExportAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public getStatusAsync(getStatusRequest GetStatusRequest, asyncHandler AsyncHandler) : Future from class com.amazonaws.services.importexport.AmazonImportExportAsyncClient", + "description": "Add Method Annotation @Override in method public getStatusAsync(getStatusRequest GetStatusRequest, asyncHandler com.amazonaws.handlers.AsyncHandler) : java.util.concurrent.Future from class com.amazonaws.services.importexport.AmazonImportExportAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public listJobsAsync(listJobsRequest ListJobsRequest) : Future from class com.amazonaws.services.importexport.AmazonImportExportAsyncClient", + "description": "Add Method Annotation @Override in method public listJobsAsync(listJobsRequest ListJobsRequest) : java.util.concurrent.Future from class com.amazonaws.services.importexport.AmazonImportExportAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public listJobsAsync(listJobsRequest ListJobsRequest, asyncHandler AsyncHandler) : Future from class com.amazonaws.services.importexport.AmazonImportExportAsyncClient", + "description": "Add Method Annotation @Override in method public listJobsAsync(listJobsRequest ListJobsRequest, asyncHandler com.amazonaws.handlers.AsyncHandler) : java.util.concurrent.Future from class com.amazonaws.services.importexport.AmazonImportExportAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public updateJobAsync(updateJobRequest UpdateJobRequest) : Future from class com.amazonaws.services.importexport.AmazonImportExportAsyncClient", + "description": "Add Method Annotation @Override in method public updateJobAsync(updateJobRequest UpdateJobRequest) : java.util.concurrent.Future from class com.amazonaws.services.importexport.AmazonImportExportAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", "validators": null }, { "type": "Add Method Annotation", - "description": "Add Method Annotation @Override in method public updateJobAsync(updateJobRequest UpdateJobRequest, asyncHandler AsyncHandler) : Future from class com.amazonaws.services.importexport.AmazonImportExportAsyncClient", + "description": "Add Method Annotation @Override in method public updateJobAsync(updateJobRequest UpdateJobRequest, asyncHandler com.amazonaws.handlers.AsyncHandler) : java.util.concurrent.Future from class com.amazonaws.services.importexport.AmazonImportExportAsyncClient", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, GumTreeDiff", @@ -64436,7 +64436,7 @@ "validators": null }, { "type": "Extract Variable", - "description": "Extract Variable projection : String[] in method public buildLuceneQuery(queryFactory QueryFactory, jpqlString String, startOffset long, maxResults int, additionalLuceneQuery Query) : LuceneQuery from class org.infinispan.query.dsl.embedded.impl.QueryEngine", + "description": "Extract Variable projection : String[] in method public buildLuceneQuery(queryFactory QueryFactory, jpqlString String, startOffset long, maxResults int, additionalLuceneQuery org.apache.lucene.search.Query) : LuceneQuery from class org.infinispan.query.dsl.embedded.impl.QueryEngine", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", @@ -64499,7 +64499,7 @@ "validators": null }, { "type": "Merge Parameter", - "description": "Merge Parameter [totalResults : long, list : List] to q : Query in method private makeResponse(isCompatMode boolean, serCtx SerializationContext, q Query) : QueryResponse from class org.infinispan.query.remote.QueryFacadeImpl", + "description": "Merge Parameter [totalResults : long, list : List] to q : Query in method private makeResponse(isCompatMode boolean, serCtx SerializationContext, q org.infinispan.query.dsl.Query) : QueryResponse from class org.infinispan.query.remote.QueryFacadeImpl", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", @@ -64786,7 +64786,7 @@ "validators": null }, { "type": "Localize Parameter", - "description": "Localize Parameter numResults : int to numResults : int in method private makeResponse(isCompatMode boolean, serCtx SerializationContext, q Query) : QueryResponse from class org.infinispan.query.remote.QueryFacadeImpl", + "description": "Localize Parameter numResults : int to numResults : int in method private makeResponse(isCompatMode boolean, serCtx SerializationContext, q org.infinispan.query.dsl.Query) : QueryResponse from class org.infinispan.query.remote.QueryFacadeImpl", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", @@ -64800,7 +64800,7 @@ "validators": null }, { "type": "Localize Parameter", - "description": "Localize Parameter projSize : int to projSize : int in method private makeResponse(isCompatMode boolean, serCtx SerializationContext, q Query) : QueryResponse from class org.infinispan.query.remote.QueryFacadeImpl", + "description": "Localize Parameter projSize : int to projSize : int in method private makeResponse(isCompatMode boolean, serCtx SerializationContext, q org.infinispan.query.dsl.Query) : QueryResponse from class org.infinispan.query.remote.QueryFacadeImpl", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", @@ -64863,7 +64863,7 @@ "validators": null }, { "type": "Localize Parameter", - "description": "Localize Parameter list : List to list : List in method private makeResponse(isCompatMode boolean, serCtx SerializationContext, q Query) : QueryResponse from class org.infinispan.query.remote.QueryFacadeImpl", + "description": "Localize Parameter list : List to list : List in method private makeResponse(isCompatMode boolean, serCtx SerializationContext, q org.infinispan.query.dsl.Query) : QueryResponse from class org.infinispan.query.remote.QueryFacadeImpl", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", @@ -76713,7 +76713,7 @@ "validators": "Matin" }, { "type": "Move Method", - "description": "Move Method private createProtocol(protocolConfig ProtocolConfiguration) : ProtocolConfiguration from class org.jboss.as.clustering.jgroups.JChannelFactory to private createProtocol(stack ProtocolStackConfiguration, protocol ProtocolConfiguration) : ProtocolConfiguration from class org.infinispan.server.jgroups.JChannelFactory", + "description": "Move Method private createProtocol(protocolConfig ProtocolConfiguration) : org.jgroups.conf.ProtocolConfiguration from class org.jboss.as.clustering.jgroups.JChannelFactory to private createProtocol(stack ProtocolStackConfiguration, protocol ProtocolConfiguration) : org.jgroups.conf.ProtocolConfiguration from class org.infinispan.server.jgroups.JChannelFactory", "comment": "

it is move class/package, but there is a change in the signature

", "validation": "TP", "detectionTools": "RefactoringMiner, RefDiff", @@ -77609,7 +77609,7 @@ "validators": "Nikos" }, { "type": "Rename Method", - "description": "Rename Method private setPropertyNoOverride(protocol ProtocolConfiguration, config ProtocolConfiguration, name String, value String) : void renamed to private setSocketBindingProperty(introspector Introspector, config ProtocolConfiguration, name String, value String) : void in class org.infinispan.server.jgroups.JChannelFactory", + "description": "Rename Method private setPropertyNoOverride(protocol ProtocolConfiguration, config org.jgroups.conf.ProtocolConfiguration, name String, value String) : void renamed to private setSocketBindingProperty(introspector Introspector, config org.jgroups.conf.ProtocolConfiguration, name String, value String) : void in class org.infinispan.server.jgroups.JChannelFactory", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", @@ -77623,56 +77623,56 @@ "validators": null }, { "type": "Change Parameter Type", - "description": "Change Parameter Type protocol : ProtocolConfiguration to introspector : Introspector in method private configureMulticastSocket(introspector Introspector, config ProtocolConfiguration, addressProperty String, portProperty String, binding SocketBinding) : void from class org.infinispan.server.jgroups.JChannelFactory", + "description": "Change Parameter Type protocol : ProtocolConfiguration to introspector : Introspector in method private configureMulticastSocket(introspector Introspector, config org.jgroups.conf.ProtocolConfiguration, addressProperty String, portProperty String, binding SocketBinding) : void from class org.infinispan.server.jgroups.JChannelFactory", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", "validators": null }, { "type": "Change Parameter Type", - "description": "Change Parameter Type protocol : ProtocolConfiguration to introspector : Introspector in method private setSocketBindingProperty(introspector Introspector, config ProtocolConfiguration, name String, value String) : void from class org.infinispan.server.jgroups.JChannelFactory", + "description": "Change Parameter Type protocol : ProtocolConfiguration to introspector : Introspector in method private setSocketBindingProperty(introspector Introspector, config org.jgroups.conf.ProtocolConfiguration, name String, value String) : void from class org.infinispan.server.jgroups.JChannelFactory", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", "validators": null }, { "type": "Change Parameter Type", - "description": "Change Parameter Type protocol : ProtocolConfiguration to introspector : Introspector in method private setProperty(introspector Introspector, config ProtocolConfiguration, name String, value String) : void from class org.infinispan.server.jgroups.JChannelFactory", + "description": "Change Parameter Type protocol : ProtocolConfiguration to introspector : Introspector in method private setProperty(introspector Introspector, config org.jgroups.conf.ProtocolConfiguration, name String, value String) : void from class org.infinispan.server.jgroups.JChannelFactory", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", "validators": null }, { "type": "Rename Parameter", - "description": "Rename Parameter protocol : ProtocolConfiguration to introspector : Introspector in method private setSocketBindingProperty(introspector Introspector, config ProtocolConfiguration, name String, value String) : void from class org.infinispan.server.jgroups.JChannelFactory", + "description": "Rename Parameter protocol : ProtocolConfiguration to introspector : Introspector in method private setSocketBindingProperty(introspector Introspector, config org.jgroups.conf.ProtocolConfiguration, name String, value String) : void from class org.infinispan.server.jgroups.JChannelFactory", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", "validators": null }, { "type": "Rename Parameter", - "description": "Rename Parameter protocol : ProtocolConfiguration to introspector : Introspector in method private setProperty(introspector Introspector, config ProtocolConfiguration, name String, value String) : void from class org.infinispan.server.jgroups.JChannelFactory", + "description": "Rename Parameter protocol : ProtocolConfiguration to introspector : Introspector in method private setProperty(introspector Introspector, config org.jgroups.conf.ProtocolConfiguration, name String, value String) : void from class org.infinispan.server.jgroups.JChannelFactory", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", "validators": null }, { "type": "Rename Parameter", - "description": "Rename Parameter protocol : ProtocolConfiguration to introspector : Introspector in method private configureMulticastSocket(introspector Introspector, config ProtocolConfiguration, addressProperty String, portProperty String, binding SocketBinding) : void from class org.infinispan.server.jgroups.JChannelFactory", + "description": "Rename Parameter protocol : ProtocolConfiguration to introspector : Introspector in method private configureMulticastSocket(introspector Introspector, config org.jgroups.conf.ProtocolConfiguration, addressProperty String, portProperty String, binding SocketBinding) : void from class org.infinispan.server.jgroups.JChannelFactory", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", "validators": null }, { "type": "Rename Variable", - "description": "Rename Variable propertyValue : String to properties : Map in method private setSocketBindingProperty(introspector Introspector, config ProtocolConfiguration, name String, value String) : void from class org.infinispan.server.jgroups.JChannelFactory", + "description": "Rename Variable propertyValue : String to properties : Map in method private setSocketBindingProperty(introspector Introspector, config org.jgroups.conf.ProtocolConfiguration, name String, value String) : void from class org.infinispan.server.jgroups.JChannelFactory", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", "validators": null }, { "type": "Change Variable Type", - "description": "Change Variable Type propertyValue : String to properties : Map in method private setSocketBindingProperty(introspector Introspector, config ProtocolConfiguration, name String, value String) : void from class org.infinispan.server.jgroups.JChannelFactory", + "description": "Change Variable Type propertyValue : String to properties : Map in method private setSocketBindingProperty(introspector Introspector, config org.jgroups.conf.ProtocolConfiguration, name String, value String) : void from class org.infinispan.server.jgroups.JChannelFactory", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", @@ -78498,21 +78498,21 @@ "validators": "Nikos" }, { "type": "Add Method Modifier", - "description": "Add Method Modifier static in method private configureMulticastSocket(introspector Introspector, config ProtocolConfiguration, addressProperty String, portProperty String, binding SocketBinding) : void from class org.infinispan.server.jgroups.JChannelFactory", + "description": "Add Method Modifier static in method private configureMulticastSocket(introspector Introspector, config org.jgroups.conf.ProtocolConfiguration, addressProperty String, portProperty String, binding SocketBinding) : void from class org.infinispan.server.jgroups.JChannelFactory", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", "validators": null }, { "type": "Add Method Modifier", - "description": "Add Method Modifier static in method private setSocketBindingProperty(introspector Introspector, config ProtocolConfiguration, name String, value String) : void from class org.infinispan.server.jgroups.JChannelFactory", + "description": "Add Method Modifier static in method private setSocketBindingProperty(introspector Introspector, config org.jgroups.conf.ProtocolConfiguration, name String, value String) : void from class org.infinispan.server.jgroups.JChannelFactory", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", "validators": null }, { "type": "Add Method Modifier", - "description": "Add Method Modifier static in method private setProperty(introspector Introspector, config ProtocolConfiguration, name String, value String) : void from class org.infinispan.server.jgroups.JChannelFactory", + "description": "Add Method Modifier static in method private setProperty(introspector Introspector, config org.jgroups.conf.ProtocolConfiguration, name String, value String) : void from class org.infinispan.server.jgroups.JChannelFactory", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", @@ -78911,28 +78911,28 @@ "validators": null }, { "type": "Rename Parameter", - "description": "Rename Parameter protocolConfig : ProtocolConfiguration to protocol : ProtocolConfiguration in method private createProtocol(stack ProtocolStackConfiguration, protocol ProtocolConfiguration) : ProtocolConfiguration from class org.infinispan.server.jgroups.JChannelFactory", + "description": "Rename Parameter protocolConfig : ProtocolConfiguration to protocol : ProtocolConfiguration in method private createProtocol(stack ProtocolStackConfiguration, protocol ProtocolConfiguration) : org.jgroups.conf.ProtocolConfiguration from class org.infinispan.server.jgroups.JChannelFactory", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", "validators": null }, { "type": "Add Parameter", - "description": "Add Parameter stack : ProtocolStackConfiguration in method private createProtocol(stack ProtocolStackConfiguration, protocol ProtocolConfiguration) : ProtocolConfiguration from class org.infinispan.server.jgroups.JChannelFactory", + "description": "Add Parameter stack : ProtocolStackConfiguration in method private createProtocol(stack ProtocolStackConfiguration, protocol ProtocolConfiguration) : org.jgroups.conf.ProtocolConfiguration from class org.infinispan.server.jgroups.JChannelFactory", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", "validators": null }, { "type": "Add Method Modifier", - "description": "Add Method Modifier static in method private createProtocol(stack ProtocolStackConfiguration, protocol ProtocolConfiguration) : ProtocolConfiguration from class org.infinispan.server.jgroups.JChannelFactory", + "description": "Add Method Modifier static in method private createProtocol(stack ProtocolStackConfiguration, protocol ProtocolConfiguration) : org.jgroups.conf.ProtocolConfiguration from class org.infinispan.server.jgroups.JChannelFactory", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", "validators": null }, { "type": "Remove Parameter Modifier", - "description": "Remove Parameter Modifier final in parameter protocolConfig : ProtocolConfiguration in method private createProtocol(protocolConfig ProtocolConfiguration) : ProtocolConfiguration from class org.jboss.as.clustering.jgroups.JChannelFactory", + "description": "Remove Parameter Modifier final in parameter protocolConfig : ProtocolConfiguration in method private createProtocol(protocolConfig ProtocolConfiguration) : org.jgroups.conf.ProtocolConfiguration from class org.jboss.as.clustering.jgroups.JChannelFactory", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", @@ -79296,7 +79296,7 @@ "validators": null }, { "type": "Rename Variable", - "description": "Rename Variable protocol : String to protocolName : String in method private createProtocol(stack ProtocolStackConfiguration, protocol ProtocolConfiguration) : ProtocolConfiguration from class org.infinispan.server.jgroups.JChannelFactory", + "description": "Rename Variable protocol : String to protocolName : String in method private createProtocol(stack ProtocolStackConfiguration, protocol ProtocolConfiguration) : org.jgroups.conf.ProtocolConfiguration from class org.infinispan.server.jgroups.JChannelFactory", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner", @@ -82556,7 +82556,7 @@ "time": "7/16/15 10:52 PM", "refactorings": [{ "type": "Extract Method", - "description": "Extract Method private setProtectionPassword(password String, hashAlgo HashAlgorithm) : void extracted from public setEnforcementEditValue(editValue STDocProtect, password String, hashAlgo HashAlgorithm) : void in class org.docx4j.openpackaging.parts.WordprocessingML.DocumentSettingsPart", + "description": "Extract Method private setProtectionPassword(password String, hashAlgo HashAlgorithm) : void extracted from public setEnforcementEditValue(editValue org.docx4j.wml.STDocProtect, password String, hashAlgo HashAlgorithm) : void in class org.docx4j.openpackaging.parts.WordprocessingML.DocumentSettingsPart", "comment": null, "validation": "TP", "detectionTools": "RefactoringMiner, RefDiff, RD-2x, RMiner-1x", @@ -110650,7 +110650,7 @@ "time": "8/6/15 6:31 PM", "refactorings": [{ "type": "Extract Method", - "description": "Extract Method protected validate(titleMap Map, startTimeJCalendar Calendar, endTimeJCalendar Calendar, untilJCalendar Calendar) : void extracted from protected validate(titleMap Map, startTimeJCalendar Calendar, endTimeJCalendar Calendar) : void in class com.liferay.calendar.service.impl.CalendarBookingLocalServiceImpl", + "description": "Extract Method protected validate(titleMap Map, startTimeJCalendar java.util.Calendar, endTimeJCalendar java.util.Calendar, untilJCalendar java.util.Calendar) : void extracted from protected validate(titleMap Map, startTimeJCalendar java.util.Calendar, endTimeJCalendar java.util.Calendar) : void in class com.liferay.calendar.service.impl.CalendarBookingLocalServiceImpl", "comment": "null", "validation": "TP", "detectionTools": "RefactoringMiner, RD-2x, RMiner-1x",