CloneSet2180


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

                        if (isChanged(node, ForStatement.INITIALIZERS_PROPERTY)) {
                                // position after opening parent
                                int startOffset = getScanner().getTokenEndOffset(ITerminalSymbols.TokenNameLPAREN, pos);
                                pos = rewriteNodeList(node, ForStatement.INITIALIZERS_PROPERTY, startOffset, "", ", "); //$NON-NLS-1$ //$NON-NLS-2$
                        }
                        else   {
                                pos = doVisit(node, ForStatement.INITIALIZERS_PROPERTY, pos);
                        }


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

                        if (isChanged(node, ForStatement.UPDATERS_PROPERTY)) {
                                int startOffset = getScanner().getTokenEndOffset(ITerminalSymbols.TokenNameSEMICOLON, pos);
                                pos = rewriteNodeList(node, ForStatement.UPDATERS_PROPERTY, startOffset, "", ", "); //$NON-NLS-1$ //$NON-NLS-2$
                        }
                        else   {
                                pos = doVisit(node, ForStatement.UPDATERS_PROPERTY, pos);
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

if (isChanged(node, ForStatement. [[#variable52f72f40]])) {
  // position after opening parent
  int startOffset = getScanner().getTokenEndOffset(ITerminalSymbols. [[#variable52f72e20]], pos);
  pos = rewriteNodeList(node, ForStatement. [[#variable52f72f40]], startOffset, "", ", "); //$NON-NLS-1$ //$NON-NLS-2$
}
else {
  pos = doVisit(node, ForStatement. [[#variable52f72f40]], pos);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#52f72f40]]
INITIALIZERS_PROPERTY 
12[[#52f72f40]]
UPDATERS_PROPERTY 
21[[#52f72e20]]
TokenNameLPAREN 
22[[#52f72e20]]
TokenNameSEMICOLON