CloneSet2813


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12210.986class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1121587
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NaiveASTFlattener.java
2121533
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java
Clone Instance
1
Line Count
12
Source Line
1587
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NaiveASTFlattener.java

        /*
         * @see ASTVisitor#visit(WildcardType)
         * @since 3.1
         */
        public boolean visit(WildcardType node) {
                this.buffer.append("?"); //$NON-NLS-1$
                Type bound = node.getBound();
                if (bound != null) {
                        if (node.isUpperBound()) {
                                this.buffer.append(" extends "); //$NON-NLS-1$
                        }
                        else   {
                                this.buffer.append(" super "); //$NON-NLS-1$
                        }
                        bound.accept(this );
                }
                return false;
        }


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

        /*
         * @see ASTVisitor#visit(WildcardType)
         * @since 3.0
         */
        public boolean visit(WildcardType node) {
                this.fBuffer.append("?"); //$NON-NLS-1$
                Type bound = node.getBound();
                if (bound != null) {
                        if (node.isUpperBound()) {
                                this.fBuffer.append(" extends "); //$NON-NLS-1$
                        }
                        else   {
                                this.fBuffer.append(" super "); //$NON-NLS-1$
                        }
                        bound.accept(this );
                }
                return false;
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/*
         * @see ASTVisitor#visit(WildcardType)
         * @since 3.0
         */
/*
         * @see ASTVisitor#visit(WildcardType)
         * @since 3.1
         */
public boolean visit(WildcardType node) {
  this. [[#variablea1bbc580]].append("?"); //$NON-NLS-1$
  Type bound = node.getBound();
  if (bound != null) {
    if (node.isUpperBound()) {
      this. [[#variablea1bbc580]].append(" extends "); //$NON-NLS-1$
    }
    else {
      this. [[#variablea1bbc580]].append(" super "); //$NON-NLS-1$
    }
    bound.accept(this );
  }
  return false;
}
 

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