CloneSet4258


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10220.975statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1102300
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
2104084
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
Clone Instance
1
Line Count
10
Source Line
2300
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                /*
                 * Print the method return type
                 */
                final TypeReference returnType = annotationTypeMemberDeclaration.returnType;
                final MethodScope annotationTypeMemberDeclarationScope = annotationTypeMemberDeclaration.scope;

                if (returnType != null) {
                        returnType.traverse(this, annotationTypeMemberDeclarationScope);
                }
                /*
                 * Print the method name
                 */
                this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier, true);


Clone Instance
2
Line Count
10
Source Line
4084
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                /*
                 * Print the method return type
                 */
                final TypeReference returnType = methodDeclaration.returnType;
                final MethodScope methodDeclarationScope = methodDeclaration.scope;

                if (returnType != null) {
                        returnType.traverse(this, methodDeclarationScope);
                }
                /*
                 * Print the method name
                 */
                this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier, true);


Clone AbstractionParameter Count: 2Parameter Bindings

/*
                 * Print the method return type
                 */
final TypeReference returnType = [[#variable606b2200]].returnType;
final MethodScope  [[#variable6347e2e0]]= [[#variable606b2200]].scope;
if (returnType != null) {
  returnType.traverse(this,  [[#variable6347e2e0]]);
}
/*
                 * Print the method name
                 */
this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier, true);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#606b2200]]
methodDeclaration 
12[[#606b2200]]
annotationTypeMemberDeclaration 
21[[#6347e2e0]]
methodDeclarationScope 
22[[#6347e2e0]]
annotationTypeMemberDeclarationScope