CloneSet4480


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7240.971class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
172941
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java
272995
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java
Clone Instance
1
Line Count
7
Source Line
2941
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java

        /**
         * Sets the new method name.
         * 
         * @param name
         *            the name to set
         * @return the status of the operation
         */
        public final RefactoringStatus setMethodName( final String name) {
                Assert.isNotNull(name);
                RefactoringStatus status = Checks.checkMethodName(name);
                if (status.hasFatalError())
                        return status;
                fMethodName = name;
                return status;
        }


Clone Instance
2
Line Count
7
Source Line
2995
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java

        /**
         * Sets the new target name.
         * 
         * @param name
         *            the name to set
         * @return the status of the operation
         */
        public final RefactoringStatus setTargetName( final String name) {
                Assert.isNotNull(name);
                final RefactoringStatus status = Checks.checkTempName(name);
                if (status.hasFatalError())
                        return status;
                fTargetName = name;
                return status;
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/**
         * Sets the new method name.
         * 
         * @param name
         *            the name to set
         * @return the status of the operation
         */
/**
         * Sets the new target name.
         * 
         * @param name
         *            the name to set
         * @return the status of the operation
         */
public final RefactoringStatus  [[#variable92ad6840]]( final String name) {
  Assert.isNotNull(name);
   [[#variable92ad67e0]]RefactoringStatus status = Checks. [[#variable92ad6720]](name);
  if (status.hasFatalError())
    return status;
   [[#variable92ad66c0]]= name;
  return status;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#92ad6840]]
setMethodName 
12[[#92ad6840]]
setTargetName 
21[[#92ad67e0]]
22[[#92ad67e0]]
final 
31[[#92ad6720]]
checkMethodName 
32[[#92ad6720]]
checkTempName 
41[[#92ad66c0]]
fMethodName 
42[[#92ad66c0]]
fTargetName