CloneSet4886


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.993class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16147
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java
2698
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/InlineTempRefactoring.java
Clone Instance
1
Line Count
6
Source Line
147
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java

        /**
         * Creates a new extract constant refactoring
         * @param unit the compilation unit, or <code>null</code> if invoked by scripting
         * @param selectionStart
         * @param selectionLength
         */
        public ExtractConstantRefactoring(ICompilationUnit unit, int selectionStart, int selectionLength) {
                Assert.isTrue(selectionStart >= 0);
                Assert.isTrue(selectionLength >= 0);
                fSelectionStart = selectionStart;
                fSelectionLength = selectionLength;
                fCu = unit;
        }


Clone Instance
2
Line Count
6
Source Line
98
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/InlineTempRefactoring.java

        /**
         * Creates a new inline constant refactoring.
         * @param unit the compilation unit, or <code>null</code> if invoked by scripting
         * @param selectionStart
         * @param selectionLength
         */
        public InlineTempRefactoring(ICompilationUnit unit, int selectionStart, int selectionLength) {
                Assert.isTrue(selectionStart >= 0);
                Assert.isTrue(selectionLength >= 0);
                fSelectionStart = selectionStart;
                fSelectionLength = selectionLength;
                fCu = unit;
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * Creates a new inline constant refactoring.
         * @param unit the compilation unit, or <code>null</code> if invoked by scripting
         * @param selectionStart
         * @param selectionLength
         */
/**
         * Creates a new extract constant refactoring
         * @param unit the compilation unit, or <code>null</code> if invoked by scripting
         * @param selectionStart
         * @param selectionLength
         */
public [[#variablea1623660]](ICompilationUnit unit, int selectionStart, int selectionLength) {
  Assert.isTrue(selectionStart >= 0);
  Assert.isTrue(selectionLength >= 0);
  fSelectionStart = selectionStart;
  fSelectionLength = selectionLength;
  fCu = unit;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a1623660]]
InlineTempRefactoring 
12[[#a1623660]]
ExtractConstantRefactoring