CloneSet2122


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18179
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ReturnTypeSubProcessor.java
28243
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ReturnTypeSubProcessor.java
Clone Instance
1
Line Count
8
Source Line
179
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ReturnTypeSubProcessor.java

                                                     {
                                        TagElement newTag = ast.newTagElement();
                                        newTag.setTagName(TagElement.TAG_RETURN);
                                        TextElement commentStart = ast.newTextElement();
                                        newTag.fragments().add(commentStart);

                                        JavadocTagsSubProcessor.insertTag(rewrite.getListRewrite(javadoc, Javadoc.TAGS_PROPERTY), newTag, null);
                                        proposal.addLinkedPosition(rewrite.track(commentStart), false, "comment_start"); //$NON-NLS-1$
                                                     }


Clone Instance
2
Line Count
8
Source Line
243
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ReturnTypeSubProcessor.java

                                                                    {
                                TagElement newTag = ast.newTagElement();
                                newTag.setTagName(TagElement.TAG_RETURN);
                                TextElement commentStart = ast.newTextElement();
                                newTag.fragments().add(commentStart);

                                JavadocTagsSubProcessor.insertTag(rewrite.getListRewrite(javadoc, Javadoc.TAGS_PROPERTY), newTag, null);
                                proposal.addLinkedPosition(rewrite.track(commentStart), false, "comment_start"); //$NON-NLS-1$
                                                                    }


Clone AbstractionParameter Count: 0Parameter Bindings

{
  TagElement newTag = ast.newTagElement();
  newTag.setTagName(TagElement.TAG_RETURN);
  TextElement commentStart = ast.newTextElement();
  newTag.fragments().add(commentStart);
  JavadocTagsSubProcessor.insertTag(rewrite.getListRewrite(javadoc, Javadoc.TAGS_PROPERTY), newTag, null);
  proposal.addLinkedPosition(rewrite.track(commentStart), false, "comment_start"); //$NON-NLS-1$
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None