CloneSet530


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10540.965statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
191859
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
2102286
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
3102836
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
4103162
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
5103183
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
Clone Instance
1
Line Count
9
Source Line
1859
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java

                if (isChanged(node, ClassInstanceCreation.ARGUMENTS_PROPERTY)) {
                        try {
                                int startpos = getScanner().getTokenEndOffset(ITerminalSymbols.TokenNameLPAREN, pos);
                                rewriteNodeList(node, ClassInstanceCreation.ARGUMENTS_PROPERTY, startpos, "", ", "); //$NON-NLS-1$ //$NON-NLS-2$
                        } catch (CoreException e) {
                                handleException(e);
                          }
                }
                else   {
                        voidVisit(node, ClassInstanceCreation.ARGUMENTS_PROPERTY);
                }


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

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


Clone Instance
3
Line Count
10
Source Line
2836
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java

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


Clone Instance
4
Line Count
10
Source Line
3162
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java

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


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

                if (isChanged(node, ParameterizedType.TYPE_ARGUMENTS_PROPERTY)) {
                        // eval position after opening parent
                        try {
                                int startOffset = getScanner().getTokenEndOffset(ITerminalSymbols.TokenNameLESS, pos);
                                rewriteNodeList(node, ParameterizedType.TYPE_ARGUMENTS_PROPERTY, startOffset, "", ", "); //$NON-NLS-1$ //$NON-NLS-2$
                        } catch (CoreException e) {
                                handleException(e);
                          }
                }
                else   {
                        voidVisit(node, ParameterizedType.TYPE_ARGUMENTS_PROPERTY);
                }


Clone AbstractionParameter Count: 4Parameter Bindings

if (isChanged(node,  [[#variable95dd8260]]. [[#variable95dd81c0]])) {
  // eval position after opening parent
  try {
    int  [[#variable95dd8140]]= getScanner().getTokenEndOffset(ITerminalSymbols. [[#variable95dd80c0]], pos);
    rewriteNodeList(node,  [[#variable95dd8260]]. [[#variable95dd81c0]],  [[#variable95dd8140]], "", ", "); //$NON-NLS-1$ //$NON-NLS-2$
  }
  catch (CoreException e) {
    handleException(e);
  }
}
else {
  voidVisit(node,  [[#variable95dd8260]]. [[#variable95dd81c0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#95dd8260]]
NormalAnnotation 
12[[#95dd8260]]
ParameterizedType 
13[[#95dd8260]]
ClassInstanceCreation 
14[[#95dd8260]]
MethodInvocation 
15[[#95dd8260]]
MethodRef 
21[[#95dd81c0]]
VALUES_PROPERTY 
22[[#95dd81c0]]
TYPE_ARGUMENTS_PROPERTY 
23[[#95dd81c0]]
ARGUMENTS_PROPERTY 
24[[#95dd81c0]]
ARGUMENTS_PROPERTY 
25[[#95dd81c0]]
PARAMETERS_PROPERTY 
31[[#95dd8140]]
startOffset 
32[[#95dd8140]]
startOffset 
33[[#95dd8140]]
startpos 
34[[#95dd8140]]
startOffset 
35[[#95dd8140]]
startOffset 
41[[#95dd80c0]]
TokenNameLPAREN 
42[[#95dd80c0]]
TokenNameLESS 
43[[#95dd80c0]]
TokenNameLPAREN 
44[[#95dd80c0]]
TokenNameLPAREN 
45[[#95dd80c0]]
TokenNameLPAREN