CloneSet3288


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11210.990class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111432
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragmentRoot.java
211449
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragmentRoot.java
Clone Instance
1
Line Count
11
Source Line
432
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragmentRoot.java

/*
 * Returns the exclusion patterns from the classpath entry associated with this root.
 */
public char[][] fullExclusionPatternChars() {
        try {
                if (this.isOpen() && this.getKind() != IPackageFragmentRoot.K_SOURCE) return null;
                ClasspathEntry entry = (ClasspathEntry) getRawClasspathEntry();
                if (entry == null) {
                        return null;
                }
                else   {
                        return entry.fullExclusionPatternChars();
                }
        } catch (JavaModelException e) {
                return null;
          }
}


Clone Instance
2
Line Count
11
Source Line
449
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragmentRoot.java

/*
 * Returns the inclusion patterns from the classpath entry associated with this root.
 */
public char[][] fullInclusionPatternChars() {
        try {
                if (this.isOpen() && this.getKind() != IPackageFragmentRoot.K_SOURCE) return null;
                ClasspathEntry entry = (ClasspathEntry) getRawClasspathEntry();
                if (entry == null) {
                        return null;
                }
                else   {
                        return entry.fullInclusionPatternChars();
                }
        } catch (JavaModelException e) {
                return null;
          }
}


Clone AbstractionParameter Count: 1Parameter Bindings

/*
 * Returns the exclusion patterns from the classpath entry associated with this root.
 */
/*
 * Returns the inclusion patterns from the classpath entry associated with this root.
 */
public char[][]  [[#variable99baa6e0]]() {
  try {
    if (this.isOpen() && this.getKind() != IPackageFragmentRoot.K_SOURCE)
      return null;
    ClasspathEntry entry = (ClasspathEntry) getRawClasspathEntry();
    if (entry == null) {
      return null;
    }
    else {
      return entry. [[#variable99baa6e0]]();
    }
  }
  catch (JavaModelException e) {
    return null;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#99baa6e0]]
fullExclusionPatternChars 
12[[#99baa6e0]]
fullInclusionPatternChars