CloneSet3811


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4330.958class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14215
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
24417
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
34978
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
Clone Instance
1
Line Count
4
Source Line
215
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java

        /*
         * @see ASTVisitor#visit(ArrayType)
         */
        public boolean visit(ArrayType node) {
                getChildNode(node, ArrayType.COMPONENT_TYPE_PROPERTY).accept(this );
                this.result.append("[]"); //$NON-NLS-1$
                return false;
        }


Clone Instance
2
Line Count
4
Source Line
417
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java

        /*
         * @see ASTVisitor#visit(ExpressionStatement)
         */
        public boolean visit(ExpressionStatement node) {
                getChildNode(node, ExpressionStatement.EXPRESSION_PROPERTY).accept(this );
                this.result.append(';');
                return false;
        }


Clone Instance
3
Line Count
4
Source Line
978
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java

        /*
         * @see ASTVisitor#visit(TypeLiteral)
         */
        public boolean visit(TypeLiteral node) {
                getChildNode(node, TypeLiteral.TYPE_PROPERTY).accept(this );
                this.result.append(".class"); //$NON-NLS-1$
                return false;
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/*
         * @see ASTVisitor#visit(ArrayType)
         */
/*
         * @see ASTVisitor#visit(ExpressionStatement)
         */
/*
         * @see ASTVisitor#visit(TypeLiteral)
         */
public boolean visit( [[#variable601d89c0]] node) {
  getChildNode(node,  [[#variable601d89c0]]. [[#variable601d8960]]).accept(this );
  this.result.append( [[#variable601d8900]]); //$NON-NLS-1$
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#601d89c0]]
ArrayType 
12[[#601d89c0]]
ExpressionStatement 
13[[#601d89c0]]
TypeLiteral 
21[[#601d8960]]
COMPONENT_TYPE_PROPERTY 
22[[#601d8960]]
EXPRESSION_PROPERTY 
23[[#601d8960]]
TYPE_PROPERTY 
31[[#601d8900]]
"[]" 
32[[#601d8900]]
';' 
33[[#601d8900]]
".class"