CloneSet929


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
17210.998executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1171833
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java
2171856
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java
Clone Instance
1
Line Count
17
Source Line
1833
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java

                                                          {
                        if (javadoc != null) {
                                if (this.commentMapper == null || !this.commentMapper.hasSameTable(this.commentsTable)) {
                                        this.commentMapper = new DefaultCommentMapper(this.commentsTable);
                                }
                                Comment comment = this.commentMapper.getComment(javadoc.sourceStart);
                                if (comment != null && comment.isDocComment() && comment.getParent() == null) {
                                        Javadoc docComment = (Javadoc) comment;
                                        if (this.resolveBindings) {
                                                recordNodes(docComment, javadoc);
                                                // resolve member and method references binding
                                                Iterator tags = docComment.tags().listIterator();
                                                while (tags.hasNext()) {
                                                        recordNodes(javadoc, (TagElement) tags.next());
                                                }
                                        }
                                        bodyDeclaration.setJavadoc(docComment);
                                }
                        }
                                                          }


Clone Instance
2
Line Count
17
Source Line
1856
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java

                                                                                         {
                        if (javadoc != null) {
                                if (this.commentMapper == null || !this.commentMapper.hasSameTable(this.commentsTable)) {
                                        this.commentMapper = new DefaultCommentMapper(this.commentsTable);
                                }
                                Comment comment = this.commentMapper.getComment(javadoc.sourceStart);
                                if (comment != null && comment.isDocComment() && comment.getParent() == null) {
                                        Javadoc docComment = (Javadoc) comment;
                                        if (this.resolveBindings) {
                                                recordNodes(docComment, javadoc);
                                                // resolve member and method references binding
                                                Iterator tags = docComment.tags().listIterator();
                                                while (tags.hasNext()) {
                                                        recordNodes(javadoc, (TagElement) tags.next());
                                                }
                                        }
                                        packageDeclaration.setJavadoc(docComment);
                                }
                        }
                                                                                         }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  if (javadoc != null) {
    if (this.commentMapper == null || !this.commentMapper.hasSameTable(this.commentsTable)) {
      this.commentMapper = new DefaultCommentMapper(this.commentsTable);
    }
    Comment comment = this.commentMapper.getComment(javadoc.sourceStart);
    if (comment != null && comment.isDocComment() && comment.getParent() == null) {
      Javadoc docComment = (Javadoc) comment;
      if (this.resolveBindings) {
        recordNodes(docComment, javadoc);
        // resolve member and method references binding
        Iterator tags = docComment.tags().listIterator();
        while (tags.hasNext()) {
          recordNodes(javadoc, (TagElement) tags.next());
        }
      }
       [[#variable90161660]].setJavadoc(docComment);
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#90161660]]
packageDeclaration 
12[[#90161660]]
bodyDeclaration