CloneSet6794


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17388
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ModifierCorrectionSubProcessor.java
27459
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ModifierCorrectionSubProcessor.java
Clone Instance
1
Line Count
7
Source Line
388
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ModifierCorrectionSubProcessor.java

                MethodDeclaration decl;
                if (selectedNode instanceof SimpleName) {
                        decl = (MethodDeclaration) selectedNode.getParent();
                }
                else   if (selectedNode instanceof MethodDeclaration) {
                        decl = (MethodDeclaration) selectedNode;
                       }
                       else {
                        return;
                       }


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

                MethodDeclaration decl;
                if (selectedNode instanceof SimpleName) {
                        decl = (MethodDeclaration) selectedNode.getParent();
                }
                else   if (selectedNode instanceof MethodDeclaration) {
                        decl = (MethodDeclaration) selectedNode;
                       }
                       else {
                        return;
                       }


Clone AbstractionParameter Count: 0Parameter Bindings

MethodDeclaration decl;
if (selectedNode instanceof SimpleName) {
  decl = (MethodDeclaration) selectedNode.getParent();
}
else
  if (selectedNode instanceof MethodDeclaration) {
    decl = (MethodDeclaration) selectedNode;
  }
  else {
    return;
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None