CloneSet3709


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.989class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17356
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelOperation.java
27666
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelOperation.java
Clone Instance
1
Line Count
7
Source Line
356
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelOperation.java

        /*
         * Returns whether the given path is equals to one of the given other paths.
         */
        protected boolean equalsOneOf(IPath path, IPath[] otherPaths) {
                for (int i = 0, length = otherPaths.length; i < length; i++) {
                        if (path.equals(otherPaths[i])) {
                                return true;
                        }
                }
                return false;
        }


Clone Instance
2
Line Count
7
Source Line
666
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelOperation.java

        /*
         * Returns whether the given path is the prefix of one of the given other paths.
         */
        protected boolean prefixesOneOf(IPath path, IPath[] otherPaths) {
                for (int i = 0, length = otherPaths.length; i < length; i++) {
                        if (path.isPrefixOf(otherPaths[i])) {
                                return true;
                        }
                }
                return false;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/*
         * Returns whether the given path is equals to one of the given other paths.
         */
/*
         * Returns whether the given path is the prefix of one of the given other paths.
         */
protected boolean  [[#variable951f7fa0]](IPath path, IPath[] otherPaths) {
  for (int i = 0, length = otherPaths.length; i < length; i++) {
    if (path. [[#variable951f7ea0]](otherPaths[i])) {
      return true;
    }
  }
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#951f7fa0]]
equalsOneOf 
12[[#951f7fa0]]
prefixesOneOf 
21[[#951f7ea0]]
equals 
22[[#951f7ea0]]
isPrefixOf