CloneSet1989


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
23210.986class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1231111
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NaiveASTFlattener.java
2231070
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java
Clone Instance
1
Line Count
23
Source Line
1111
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NaiveASTFlattener.java

        /*
         * @see ASTVisitor#visit(SimpleName)
         */
        public boolean visit(SimpleName node) {
                this.buffer.append(node.getIdentifier());
                return false;
        }

        /*
         * @see ASTVisitor#visit(SimpleType)
         */
        public boolean visit(SimpleType node) {
                return true;
        }

        /*
         * @see ASTVisitor#visit(SingleMemberAnnotation)
         * @since 3.1
         */
        public boolean visit(SingleMemberAnnotation node) {
                this.buffer.append("@"); //$NON-NLS-1$
                node.getTypeName().accept(this );
                this.buffer.append("("); //$NON-NLS-1$
                node.getValue().accept(this );
                this.buffer.append(")"); //$NON-NLS-1$
                return false;
        }


Clone Instance
2
Line Count
23
Source Line
1070
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java

        /*
         * @see ASTVisitor#visit(SimpleName)
         */
        public boolean visit(SimpleName node) {
                this.fBuffer.append(node.getIdentifier());
                return false;
        }

        /*
         * @see ASTVisitor#visit(SimpleType)
         */
        public boolean visit(SimpleType node) {
                return true;
        }

        /*
         * @see ASTVisitor#visit(SingleMemberAnnotation)
         * @since 3.0
         */
        public boolean visit(SingleMemberAnnotation node) {
                this.fBuffer.append("@"); //$NON-NLS-1$
                node.getTypeName().accept(this );
                this.fBuffer.append("("); //$NON-NLS-1$
                node.getValue().accept(this );
                this.fBuffer.append(")"); //$NON-NLS-1$
                return false;
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/*
         * @see ASTVisitor#visit(SimpleName)
         */
public boolean visit(SimpleName node) {
  this. [[#variable52e85b60]].append(node.getIdentifier());
  return false;
}

/*
         * @see ASTVisitor#visit(SimpleType)
         */
public boolean visit(SimpleType node) {
  return true;
}

/*
         * @see ASTVisitor#visit(SingleMemberAnnotation)
         * @since 3.1
         */
/*
         * @see ASTVisitor#visit(SingleMemberAnnotation)
         * @since 3.0
         */
public boolean visit(SingleMemberAnnotation node) {
  this. [[#variable52e85b60]].append("@"); //$NON-NLS-1$
  node.getTypeName().accept(this );
  this. [[#variable52e85b60]].append("("); //$NON-NLS-1$
  node.getValue().accept(this );
  this. [[#variable52e85b60]].append(")"); //$NON-NLS-1$
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#52e85b60]]
buffer 
12[[#52e85b60]]
fBuffer