CloneSet2416


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10220.992class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110146
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/InlineConstantAction.java
210153
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/InlineMethodAction.java
Clone Instance
1
Line Count
10
Source Line
146
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/InlineConstantAction.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;
        }


Clone Instance
2
Line Count
10
Source Line
153
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/InlineMethodAction.java

        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;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#99431060]]
tryInlineMethod 
12[[#99431060]]
tryInlineConstant 
21[[#994310a0]]
startInlineMethodRefactoring 
22[[#994310a0]]
startInlineConstantRefactoring