CloneSet6947


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

        public String guessTempName() {
                String[] proposals = guessTempNames();
                if (proposals.length == 0)
                        return fTempName;
                else
                        return proposals[0];
        }


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

        /** 
         * must only be called <i>after</i> checkActivation() 
         * @return guessed parameter name
         */
        public String guessedParameterName() {
                String[] proposals = guessParameterNames();
                if (proposals.length == 0)
                        return ""; //$NON-NLS-1$
                else
                        return proposals[0];
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/** 
         * must only be called <i>after</i> checkActivation() 
         * @return guessed parameter name
         */
public String  [[#variable544be4e0]]() {
  String[] proposals = [[#variable544be420]]();
  if (proposals.length == 0)
    return [[#variable544be320]]; //$NON-NLS-1$
  else
    return proposals[0];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#544be4e0]]
guessedParameterName 
12[[#544be4e0]]
guessTempName 
21[[#544be420]]
guessParameterNames 
22[[#544be420]]
guessTempNames 
31[[#544be320]]
"" 
32[[#544be320]]
fTempName