CloneSet2612


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.989block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17203
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFix.java
27146
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/RemoveDeclarationCorrectionProposal.java
Clone Instance
1
Line Count
7
Source Line
203
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFix.java

                                                                                                                        {
                        if (varDecl.getParent() instanceof MethodDeclaration) {
                                Javadoc javadoc = ((MethodDeclaration) varDecl.getParent()).getJavadoc();
                                if (javadoc != null) {
                                        TagElement tagElement = JavadocTagsSubProcessor.findParamTag(javadoc, varDecl.getName().getIdentifier());
                                        if (tagElement != null) {
                                                rewrite.remove(tagElement, group);
                                        }
                                }
                        }
                                                                                                                        }


Clone Instance
2
Line Count
7
Source Line
146
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/RemoveDeclarationCorrectionProposal.java

                                                                                           {
                if (varDecl.getParent() instanceof MethodDeclaration) {
                        Javadoc javadoc = ((MethodDeclaration) varDecl.getParent()).getJavadoc();
                        if (javadoc != null) {
                                TagElement tagElement = JavadocTagsSubProcessor.findParamTag(javadoc, varDecl.getName().getIdentifier());
                                if (tagElement != null) {
                                        rewrite.remove(tagElement, null);
                                }
                        }
                }
                                                                                           }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  if (varDecl.getParent() instanceof MethodDeclaration) {
    Javadoc javadoc = ((MethodDeclaration) varDecl.getParent()).getJavadoc();
    if (javadoc != null) {
      TagElement tagElement = JavadocTagsSubProcessor.findParamTag(javadoc, varDecl.getName().getIdentifier());
      if (tagElement != null) {
        rewrite.remove(tagElement,  [[#variable762770e0]]);
      }
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#762770e0]]
null 
12[[#762770e0]]
group