CloneSet1939


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10210.996class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11043
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgCopyStarter.java
21055
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgCopyStarter.java
Clone Instance
1
Line Count
10
Source Line
43
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgCopyStarter.java

        public static ReorgCopyStarter create(IJavaElement[] javaElements, IResource[] resources, IJavaElement destination) throws JavaModelException {
                Assert.isNotNull(javaElements);
                Assert.isNotNull(resources);
                Assert.isNotNull(destination);
                JavaCopyProcessor copyProcessor = JavaCopyProcessor.create(resources, javaElements);
                if (copyProcessor == null)
                        return null;
                if ( ! copyProcessor.setDestination(destination).isOK())
                        return null;
                return new ReorgCopyStarter(copyProcessor);
        }


Clone Instance
2
Line Count
10
Source Line
55
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgCopyStarter.java

        public static ReorgCopyStarter create(IJavaElement[] javaElements, IResource[] resources, IResource destination) throws JavaModelException {
                Assert.isNotNull(javaElements);
                Assert.isNotNull(resources);
                Assert.isNotNull(destination);
                JavaCopyProcessor copyProcessor = JavaCopyProcessor.create(resources, javaElements);
                if (copyProcessor == null)
                        return null;
                if ( ! copyProcessor.setDestination(destination).isOK())
                        return null;
                return new ReorgCopyStarter(copyProcessor);
        }


Clone AbstractionParameter Count: 1Parameter Bindings

public static ReorgCopyStarter create(IJavaElement[] javaElements, IResource[] resources, [[#variablea1ba3040]] destination) throws JavaModelException {
  Assert.isNotNull(javaElements);
  Assert.isNotNull(resources);
  Assert.isNotNull(destination);
  JavaCopyProcessor copyProcessor = JavaCopyProcessor.create(resources, javaElements);
  if (copyProcessor == null)
    return null;
  if ( !copyProcessor.setDestination(destination).isOK())
    return null;
  return new ReorgCopyStarter(copyProcessor);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a1ba3040]]
IJavaElement 
12[[#a1ba3040]]
IResource