CloneSet3821


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6240.972executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
161846
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
262545
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
Clone Instance
1
Line Count
6
Source Line
1846
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java

                                                                                            {
                                try {
                                        pos = getScanner().getTokenEndOffset(ITerminalSymbols.TokenNamenew, pos); //after 'new'
                                        rewriteOptionalTypeParameters(node, ClassInstanceCreation.TYPE_ARGUMENTS_PROPERTY, pos, " ", true, true); //$NON-NLS-1$
                                } catch (CoreException e) {
                                        handleException(e);
                                  }
                                                                                            }


Clone Instance
2
Line Count
6
Source Line
2545
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java

                                                                                            {
                                try {
                                        pos = getScanner().getTokenEndOffset(ITerminalSymbols.TokenNameDOT, pos);
                                        rewriteOptionalTypeParameters(node, SuperMethodInvocation.TYPE_ARGUMENTS_PROPERTY, pos, "", false, false); //$NON-NLS-1$
                                } catch (CoreException e) {
                                        handleException(e);
                                  }
                                                                                            }


Clone AbstractionParameter Count: 4Parameter Bindings

{
  try {
    pos = getScanner().getTokenEndOffset(ITerminalSymbols. [[#variable5b4b71c0]], pos); //after 'new'
    rewriteOptionalTypeParameters(node,  [[#variable5b4b65e0]].TYPE_ARGUMENTS_PROPERTY, pos,  [[#variable5b4b6560]],  [[#variable5b4b7200]],  [[#variable5b4b7200]]); //$NON-NLS-1$
  }
  catch (CoreException e) {
    handleException(e);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5b4b71c0]]
TokenNamenew 
12[[#5b4b71c0]]
TokenNameDOT 
21[[#5b4b65e0]]
ClassInstanceCreation 
22[[#5b4b65e0]]
SuperMethodInvocation 
31[[#5b4b6560]]
" " 
32[[#5b4b6560]]
"" 
41[[#5b4b7200]]
true 
42[[#5b4b7200]]
false