CloneSet4038


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11220.982class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111106
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/participants/ResourceModifications.java
211119
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/participants/ResourceModifications.java
Clone Instance
1
Line Count
11
Source Line
106
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/participants/ResourceModifications.java

        public static class MoveDescription extends DeltaDescription {
                private IPath fDestination;

                public MoveDescription(IResource resource, IPath destination) {
                        super(resource);
                        fDestination = destination;
                }

                public void buildDelta(IResourceChangeDescriptionFactory builder) {
                        builder.move(fResource, fDestination);
                }

                public IPath getDestinationPath() {
                        return fDestination;
                }
        }


Clone Instance
2
Line Count
11
Source Line
119
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/participants/ResourceModifications.java

        public static class CopyDescription extends DeltaDescription {
                private IPath fDestination;

                public CopyDescription(IResource resource, IPath destination) {
                        super(resource);
                        fDestination = destination;
                }

                public void buildDelta(IResourceChangeDescriptionFactory builder) {
                        builder.copy(fResource, fDestination);
                }

                public IPath getDestinationPath() {
                        return fDestination;
                }
        }


Clone AbstractionParameter Count: 2Parameter Bindings

public static class [[#variableb2ef6620]]extends DeltaDescription {
  private IPath fDestination;

  public [[#variableb2ef6620]](IResource resource, IPath destination) {
    super(resource);
    fDestination = destination;
  }

  public void buildDelta(IResourceChangeDescriptionFactory builder) {
    builder. [[#variableb2ef65c0]](fResource, fDestination);
  }

  public IPath getDestinationPath() {
    return fDestination;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2ef6620]]
MoveDescription 
12[[#b2ef6620]]
CopyDescription 
21[[#b2ef65c0]]
move 
22[[#b2ef65c0]]
copy