CloneSet1844


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19201.000statement_sequence[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
119172
plugins/org.eclipse.jdt.apt.core/src/com/sun/mirror/util/SourceOrderDeclScanner.java
219205
plugins/org.eclipse.jdt.apt.core/src/com/sun/mirror/util/SourceOrderDeclScanner.java
Clone Instance
1
Line Count
19
Source Line
172
Source File
plugins/org.eclipse.jdt.apt.core/src/com/sun/mirror/util/SourceOrderDeclScanner.java

        d.accept(pre);

        SortedSet<Declaration> decls = new
            TreeSet<Declaration>(SourceOrderDeclScanner.comparator);

        for (TypeParameterDeclaration tpDecl: d.getFormalTypeParameters()) {
            decls.add(tpDecl);
        }

        for (FieldDeclaration fieldDecl: d.getFields()) {
            decls.add(fieldDecl);
        }

        for (MethodDeclaration methodDecl: d.getMethods()) {
            decls.add(methodDecl);
        }

        for (TypeDeclaration typeDecl: d.getNestedTypes()) {
            decls.add(typeDecl);
        }


Clone Instance
2
Line Count
19
Source Line
205
Source File
plugins/org.eclipse.jdt.apt.core/src/com/sun/mirror/util/SourceOrderDeclScanner.java

        d.accept(pre);

        SortedSet<Declaration> decls = new
            TreeSet<Declaration>(SourceOrderDeclScanner.comparator);

        for (TypeParameterDeclaration tpDecl: d.getFormalTypeParameters()) {
            decls.add(tpDecl);
        }

        for (FieldDeclaration fieldDecl: d.getFields()) {
            decls.add(fieldDecl);
        }

        for (MethodDeclaration methodDecl: d.getMethods()) {
            decls.add(methodDecl);
        }

        for (TypeDeclaration typeDecl: d.getNestedTypes()) {
            decls.add(typeDecl);
        }


Clone AbstractionParameter Count: 0Parameter Bindings

d.accept(pre);
SortedSet<Declaration> decls = new TreeSet<Declaration>(SourceOrderDeclScanner.comparator);
for (TypeParameterDeclaration tpDecl: d.getFormalTypeParameters()) {
  decls.add(tpDecl);
}
for (FieldDeclaration fieldDecl: d.getFields()) {
  decls.add(fieldDecl);
}
for (MethodDeclaration methodDecl: d.getMethods()) {
  decls.add(methodDecl);
}
for (TypeDeclaration typeDecl: d.getNestedTypes()) {
  decls.add(typeDecl);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None