CloneSet1587


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11210.997class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11149
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgMoveStarter.java
21162
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgMoveStarter.java
Clone Instance
1
Line Count
11
Source Line
49
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgMoveStarter.java

        public static ReorgMoveStarter create(IJavaElement[] javaElements, IResource[] resources, IJavaElement destination) throws JavaModelException {
                Assert.isNotNull(javaElements);
                Assert.isNotNull(resources);
                Assert.isNotNull(destination);
                IMovePolicy policy = ReorgPolicyFactory.createMovePolicy(resources, javaElements);
                if ( !policy.canEnable())
                        return null;
                JavaMoveProcessor processor = new JavaMoveProcessor(policy);
                if ( ! processor.setDestination(destination).isOK())
                        return null;
                return new ReorgMoveStarter(processor);
        }


Clone Instance
2
Line Count
11
Source Line
62
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgMoveStarter.java

        public static ReorgMoveStarter create(IJavaElement[] javaElements, IResource[] resources, IResource destination) throws JavaModelException {
                Assert.isNotNull(javaElements);
                Assert.isNotNull(resources);
                Assert.isNotNull(destination);
                IMovePolicy policy = ReorgPolicyFactory.createMovePolicy(resources, javaElements);
                if ( !policy.canEnable())
                        return null;
                JavaMoveProcessor processor = new JavaMoveProcessor(policy);
                if ( ! processor.setDestination(destination).isOK())
                        return null;
                return new ReorgMoveStarter(processor);
        }


Clone AbstractionParameter Count: 1Parameter Bindings

public static ReorgMoveStarter create(IJavaElement[] javaElements, IResource[] resources, [[#variableb2648fc0]] destination) throws JavaModelException {
  Assert.isNotNull(javaElements);
  Assert.isNotNull(resources);
  Assert.isNotNull(destination);
  IMovePolicy policy = ReorgPolicyFactory.createMovePolicy(resources, javaElements);
  if ( !policy.canEnable())
    return null;
  JavaMoveProcessor processor = new JavaMoveProcessor(policy);
  if ( !processor.setDestination(destination).isOK())
    return null;
  return new ReorgMoveStarter(processor);
}
 

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