CloneSet4654


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4250.960statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14153
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertNestedToTopAction.java
24131
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/InferTypeArgumentsAction.java
Clone Instance
1
Line Count
4
Source Line
153
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertNestedToTopAction.java

                        if (type != null && RefactoringAvailabilityTester.isMoveInnerAvailable(type)) {
                                RefactoringExecutionStarter.startMoveInnerRefactoring(type, getShell());
                        }
                        else   {
                                MessageDialog.openInformation(getShell(), RefactoringMessages.OpenRefactoringWizardAction_unavailable, RefactoringMessages.ConvertNestedToTopAction_To_activate);
                        }


Clone Instance
2
Line Count
4
Source Line
131
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/InferTypeArgumentsAction.java

                        if (element != null && RefactoringAvailabilityTester.isInferTypeArgumentsAvailable(array)) {
                                RefactoringExecutionStarter.startInferTypeArgumentsRefactoring(array, getShell());
                        }
                        else   {
                                MessageDialog.openInformation(getShell(), RefactoringMessages.OpenRefactoringWizardAction_unavailable, RefactoringMessages.InferTypeArgumentsAction_unavailable);
                        }


Clone AbstractionParameter Count: 5Parameter Bindings

if ( [[#variable964b5ba0]]!= null && RefactoringAvailabilityTester. [[#variable964b5b40]]( [[#variable964b5ac0]])) {
  RefactoringExecutionStarter. [[#variable964b5a40]]( [[#variable964b5ac0]], getShell());
}
else {
  MessageDialog.openInformation(getShell(), RefactoringMessages.OpenRefactoringWizardAction_unavailable, RefactoringMessages. [[#variable964b5920]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#964b5ba0]]
element 
12[[#964b5ba0]]
type 
21[[#964b5b40]]
isInferTypeArgumentsAvailable 
22[[#964b5b40]]
isMoveInnerAvailable 
31[[#964b5ac0]]
array 
32[[#964b5ac0]]
type 
41[[#964b5a40]]
startInferTypeArgumentsRefactoring 
42[[#964b5a40]]
startMoveInnerRefactoring 
51[[#964b5920]]
InferTypeArgumentsAction_unavailable 
52[[#964b5920]]
ConvertNestedToTopAction_To_activate