Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 5 | 0.960 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 153 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertNestedToTopAction.java |
2 | 4 | 131 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/InferTypeArgumentsAction.java |
| ||||
if (type != null && RefactoringAvailabilityTester.isMoveInnerAvailable(type)) { RefactoringExecutionStarter.startMoveInnerRefactoring(type, getShell()); } else { MessageDialog.openInformation(getShell(), RefactoringMessages.OpenRefactoringWizardAction_unavailable, RefactoringMessages.ConvertNestedToTopAction_To_activate); } |
| ||||
if (element != null && RefactoringAvailabilityTester.isInferTypeArgumentsAvailable(array)) { RefactoringExecutionStarter.startInferTypeArgumentsRefactoring(array, getShell()); } else { MessageDialog.openInformation(getShell(), RefactoringMessages.OpenRefactoringWizardAction_unavailable, RefactoringMessages.InferTypeArgumentsAction_unavailable); } |
| |||
if ( [[#variable964b5ba0]]!= null && RefactoringAvailabilityTester. [[#variable964b5b40]]( [[#variable964b5ac0]])) { RefactoringExecutionStarter. [[#variable964b5a40]]( [[#variable964b5ac0]], getShell()); } else { MessageDialog.openInformation(getShell(), RefactoringMessages.OpenRefactoringWizardAction_unavailable, RefactoringMessages. [[#variable964b5920]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#964b5ba0]] | element |
1 | 2 | [[#964b5ba0]] | type |
2 | 1 | [[#964b5b40]] | isInferTypeArgumentsAvailable |
2 | 2 | [[#964b5b40]] | isMoveInnerAvailable |
3 | 1 | [[#964b5ac0]] | array |
3 | 2 | [[#964b5ac0]] | type |
4 | 1 | [[#964b5a40]] | startInferTypeArgumentsRefactoring |
4 | 2 | [[#964b5a40]] | startMoveInnerRefactoring |
5 | 1 | [[#964b5920]] | InferTypeArgumentsAction_unavailable |
5 | 2 | [[#964b5920]] | ConvertNestedToTopAction_To_activate |