CloneSet2208


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6240.971switch_group
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16188
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyPackageFragmentRootOperation.java
26199
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyPackageFragmentRootOperation.java
Clone Instance
1
Line Count
6
Source Line
188
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyPackageFragmentRootOperation.java

                        case IClasspathEntry.CPE_LIBRARY:
                                try {
                                        return JavaCore.newLibraryEntry(this.destination, entry.getSourceAttachmentPath(), entry.getSourceAttachmentRootPath(), entry.getAccessRules(), entry.getExtraAttributes(), entry.isExported());
                                } catch (AssertionFailedException e) {
                                        IJavaModelStatus status = new JavaModelStatus(IJavaModelStatusConstants.INVALID_PATH, e.getMessage());
                                        throw new JavaModelException(status);
                                  }


Clone Instance
2
Line Count
6
Source Line
199
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyPackageFragmentRootOperation.java

                        case IClasspathEntry.CPE_VARIABLE:
                                try {
                                        return JavaCore.newVariableEntry(entry.getPath(), entry.getSourceAttachmentPath(), entry.getSourceAttachmentRootPath(), entry.getAccessRules(), entry.getExtraAttributes(), entry.isExported());
                                } catch (AssertionFailedException e) {
                                        IJavaModelStatus status = new JavaModelStatus(IJavaModelStatusConstants.INVALID_PATH, e.getMessage());
                                        throw new JavaModelException(status);
                                  }


Clone AbstractionParameter Count: 4Parameter Bindings

case IClasspathEntry. [[#variablea4b65000]]:
  try {
    return JavaCore. [[#variablea4b64f80]]( [[#variablea4b64f00]] [[#variablea4b64e80]], entry.getSourceAttachmentPath(), entry.getSourceAttachmentRootPath(), entry.getAccessRules(), entry.getExtraAttributes(), entry.isExported());
  }
  catch (AssertionFailedException e) {
    IJavaModelStatus status = new JavaModelStatus(IJavaModelStatusConstants.INVALID_PATH, e.getMessage());
    throw new JavaModelException(status);
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a4b65000]]
CPE_VARIABLE 
12[[#a4b65000]]
CPE_LIBRARY 
21[[#a4b64f80]]
newVariableEntry 
22[[#a4b64f80]]
newLibraryEntry 
31[[#a4b64f00]]
entry 
32[[#a4b64f00]]
this 
41[[#a4b64e80]]
.getPath() 
42[[#a4b64e80]]
.destination