CloneSet1019


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110225
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavadocTagsSubProcessor.java
210289
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavadocTagsSubProcessor.java
Clone Instance
1
Line Count
10
Source Line
225
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavadocTagsSubProcessor.java

                                TypeParameter decl = (TypeParameter) typeParams.get(i);
                                String name = '<' + decl.getName().getIdentifier() + '>';
                                if (findTag(javadoc, TagElement.TAG_PARAM, name) == null) {
                                        TagElement newTag = ast.newTagElement();
                                        newTag.setTagName(TagElement.TAG_PARAM);
                                        TextElement text = ast.newTextElement();
                                        text.setText(name);
                                        newTag.fragments().add(text);
                                        insertTabStop(rewriter, newTag.fragments(), "typeParam" + i); //$NON-NLS-1$
                                        insertTag(tagsRewriter, newTag, getPreviousTypeParamNames(typeParams, decl));
                                }


Clone Instance
2
Line Count
10
Source Line
289
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavadocTagsSubProcessor.java

                                TypeParameter decl = (TypeParameter) typeParams.get(i);
                                String name = '<' + decl.getName().getIdentifier() + '>';
                                if (findTag(javadoc, TagElement.TAG_PARAM, name) == null) {
                                        TagElement newTag = ast.newTagElement();
                                        newTag.setTagName(TagElement.TAG_PARAM);
                                        TextElement text = ast.newTextElement();
                                        text.setText(name);
                                        newTag.fragments().add(text);
                                        insertTabStop(rewriter, newTag.fragments(), "typeParam" + i); //$NON-NLS-1$
                                        insertTag(tagsRewriter, newTag, getPreviousTypeParamNames(typeParams, decl));
                                }


Clone AbstractionParameter Count: 0Parameter Bindings

TypeParameter decl = (TypeParameter) typeParams.get(i);
String name = '<' + decl.getName().getIdentifier() + '>';
if (findTag(javadoc, TagElement.TAG_PARAM, name) == null) {
  TagElement newTag = ast.newTagElement();
  newTag.setTagName(TagElement.TAG_PARAM);
  TextElement text = ast.newTextElement();
  text.setText(name);
  newTag.fragments().add(text);
  insertTabStop(rewriter, newTag.fragments(), "typeParam" + i); //$NON-NLS-1$
  insertTag(tagsRewriter, newTag, getPreviousTypeParamNames(typeParams, decl));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None