CloneSet1247


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5310.996executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
151652
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClasspathEntry.java
251663
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClasspathEntry.java
351676
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClasspathEntry.java
Clone Instance
1
Line Count
5
Source Line
1652
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClasspathEntry.java

                                                                        if (checkSourceAttachment &&
                                                                                   sourceAttachment != null &&
                                                                                   !sourceAttachment.isEmpty() &&
                                                                                   JavaModel.getTarget(workspaceRoot, sourceAttachment, true) == null) {
                                                                                return new JavaModelStatus(IJavaModelStatusConstants.INVALID_CLASSPATH, Messages.bind(Messages.classpath_unboundSourceAttachment, new String[]  {
                                                                                                                                                                                                                                 sourceAttachment.toString(), path.toString(), projectName
                                                                                                                                                                                                                                } ));
                                                                        }


Clone Instance
2
Line Count
5
Source Line
1663
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClasspathEntry.java

                                                                if (checkSourceAttachment &&
                                                                           sourceAttachment != null &&
                                                                           !sourceAttachment.isEmpty() &&
                                                                           JavaModel.getTarget(workspaceRoot, sourceAttachment, true) == null) {
                                                                        return  new JavaModelStatus(IJavaModelStatusConstants.INVALID_CLASSPATH, Messages.bind(Messages.classpath_unboundSourceAttachment, new String[]  {
                                                                                                                                                                                                                          sourceAttachment.toString(), path.toString(), projectName
                                                                                                                                                                                                                         } ));
                                                                }


Clone Instance
3
Line Count
5
Source Line
1676
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClasspathEntry.java

                                                   if (checkSourceAttachment &&
                                                                   sourceAttachment != null &&
                                                                   !sourceAttachment.isEmpty() &&
                                                                   JavaModel.getTarget(workspaceRoot, sourceAttachment, true) == null) {
                                                                return  new JavaModelStatus(IJavaModelStatusConstants.INVALID_CLASSPATH, Messages.bind(Messages.classpath_unboundSourceAttachment, new String[]  {
                                                                                                                                                                                                                  sourceAttachment.toString(), path.toOSString(), projectName
                                                                                                                                                                                                                 } ));
                                                   }


Clone AbstractionParameter Count: 1Parameter Bindings

if (checkSourceAttachment && sourceAttachment != null && !sourceAttachment.isEmpty() && JavaModel.getTarget(workspaceRoot, sourceAttachment, true) == null) {
  return new JavaModelStatus(IJavaModelStatusConstants.INVALID_CLASSPATH, Messages.bind(Messages.classpath_unboundSourceAttachment, new String[] {
                                                                                                                                                   sourceAttachment.toString(),
                                                                                                                                                   path. [[#variable52776280]](),
                                                                                                                                                   projectName
                                                                                                                                                 } ));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#52776280]]
toString 
12[[#52776280]]
toOSString 
13[[#52776280]]
toString