Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.992 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 146 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/InlineConstantAction.java |
2 | 10 | 153 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/InlineMethodAction.java |
| ||||
public boolean tryInlineConstant(ICompilationUnit unit, CompilationUnit node, ITextSelection selection, Shell shell) { try { if (RefactoringExecutionStarter.startInlineConstantRefactoring(unit, node, selection.getOffset(), selection.getLength(), shell, false)) { run(selection); return true; } } catch (JavaModelException exception) { JavaPlugin.log(exception); } return false; } |
| ||||
public boolean tryInlineMethod(ICompilationUnit unit, CompilationUnit node, ITextSelection selection, Shell shell) { try { if (RefactoringExecutionStarter.startInlineMethodRefactoring(unit, node, selection.getOffset(), selection.getLength(), shell, false)) { run(selection); return true; } } catch (JavaModelException exception) { JavaPlugin.log(exception); } return false; } |
| |||
public boolean [[#variable99431060]](ICompilationUnit unit, CompilationUnit node, ITextSelection selection, Shell shell) { try { if (RefactoringExecutionStarter. [[#variable994310a0]](unit, node, selection.getOffset(), selection.getLength(), shell, false)) { run(selection); return true; } } catch (JavaModelException exception) { JavaPlugin.log(exception); } return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#99431060]] | tryInlineMethod |
1 | 2 | [[#99431060]] | tryInlineConstant |
2 | 1 | [[#994310a0]] | startInlineMethodRefactoring |
2 | 2 | [[#994310a0]] | startInlineConstantRefactoring |