CloneSet3604


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9210.995statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19796
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java
29874
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java
Clone Instance
1
Line Count
9
Source Line
796
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java

                try {
                        ASTParser c = ASTParser.newParser(AST.JLS2);
                        c.setSource(unit);
                        c.setResolveBindings(resolveBindings);
                        ASTNode result = c.createAST(null);
                        return (CompilationUnit) result;
                } catch (IllegalStateException e) {
                        // convert ASTParser's complaints into old form
                        throw new IllegalArgumentException();
                  }


Clone Instance
2
Line Count
9
Source Line
874
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java

                try {
                        ASTParser c = ASTParser.newParser(AST.JLS2);
                        c.setSource(classFile);
                        c.setResolveBindings(resolveBindings);
                        ASTNode result = c.createAST(null);
                        return (CompilationUnit) result;
                } catch (IllegalStateException e) {
                        // convert ASTParser's complaints into old form
                        throw new IllegalArgumentException();
                  }


Clone AbstractionParameter Count: 1Parameter Bindings

try {
  ASTParser c = ASTParser.newParser(AST.JLS2);
  c.setSource( [[#variable9e2981e0]]);
  c.setResolveBindings(resolveBindings);
  ASTNode result = c.createAST(null);
  return (CompilationUnit) result;
}
catch (IllegalStateException e) {
  // convert ASTParser's complaints into old form
  throw new IllegalArgumentException();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9e2981e0]]
classFile 
12[[#9e2981e0]]
unit