CloneSet3627


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8210.995statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18253
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/util/AptConfig.java
28344
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/util/AptConfig.java
Clone Instance
1
Line Count
8
Source Line
253
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/util/AptConfig.java

                // Absolute path for bin dir as well
                IPath binPath = jproj.getOutputLocation();
                IResource binPathResource = root.findMember(binPath);
                String binDirString;
                if (binPathResource != null) {
                        binDirString = root.findMember(binPath).getLocation().toOSString();
                }
                else {
                        binDirString = binPath.toOSString();
                }


Clone Instance
2
Line Count
8
Source Line
344
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/util/AptConfig.java

                // Add the output directory first as a binary entry for other projects
                IPath binPath = otherJavaProject.getOutputLocation();
                IResource binPathResource = root.findMember(binPath);
                String binDirString;
                if (binPathResource != null) {
                        binDirString = root.findMember(binPath).getLocation().toOSString();
                }
                else {
                        binDirString = binPath.toOSString();
                }


Clone AbstractionParameter Count: 1Parameter Bindings

// Absolute path for bin dir as well
// Add the output directory first as a binary entry for other projects
IPath binPath = [[#variable990d7f40]].getOutputLocation();
IResource binPathResource = root.findMember(binPath);
String binDirString;
if (binPathResource != null) {
  binDirString = root.findMember(binPath).getLocation().toOSString();
}
else {
  binDirString = binPath.toOSString();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#990d7f40]]
jproj 
12[[#990d7f40]]
otherJavaProject