Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 1 | 0.986 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 1587 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NaiveASTFlattener.java |
2 | 12 | 1533 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.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; } |
| ||||
/* * @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; } |
| |||
/* * @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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a1bbc580]] | fBuffer |
1 | 2 | [[#a1bbc580]] | buffer |