CloneSet2197


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12210.989statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1122507
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
2122557
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
Clone Instance
1
Line Count
12
Source Line
2507
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java

                if (isChanged(node, SuperConstructorInvocation.ARGUMENTS_PROPERTY)) {
                        // eval position after opening parent
                        try {
                                pos = getScanner().getTokenEndOffset(ITerminalSymbols.TokenNameLPAREN, pos);
                                rewriteNodeList(node, SuperConstructorInvocation.ARGUMENTS_PROPERTY, pos, "", ", "); //$NON-NLS-1$ //$NON-NLS-2$
                        } catch (CoreException e) {
                                handleException(e);
                          }
                }
                else   {
                        voidVisit(node, SuperConstructorInvocation.ARGUMENTS_PROPERTY);
                }
                return false;


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

                if (isChanged(node, SuperMethodInvocation.ARGUMENTS_PROPERTY)) {
                        // eval position after opening parent
                        try {
                                pos = getScanner().getTokenEndOffset(ITerminalSymbols.TokenNameLPAREN, pos);
                                rewriteNodeList(node, SuperMethodInvocation.ARGUMENTS_PROPERTY, pos, "", ", "); //$NON-NLS-1$ //$NON-NLS-2$
                        } catch (CoreException e) {
                                handleException(e);
                          }
                }
                else   {
                        voidVisit(node, SuperMethodInvocation.ARGUMENTS_PROPERTY);
                }
                return false;


Clone AbstractionParameter Count: 1Parameter Bindings

if (isChanged(node,  [[#variable92d4d060]].ARGUMENTS_PROPERTY)) {
  // eval position after opening parent
  try {
    pos = getScanner().getTokenEndOffset(ITerminalSymbols.TokenNameLPAREN, pos);
    rewriteNodeList(node,  [[#variable92d4d060]].ARGUMENTS_PROPERTY, pos, "", ", "); //$NON-NLS-1$ //$NON-NLS-2$
  }
  catch (CoreException e) {
    handleException(e);
  }
}
else {
  voidVisit(node,  [[#variable92d4d060]].ARGUMENTS_PROPERTY);
}
return false;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#92d4d060]]
SuperMethodInvocation 
12[[#92d4d060]]
SuperConstructorInvocation