Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 6 | 4 | 0.960 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 426 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java |
2 | 5 | 530 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java |
3 | 5 | 571 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java |
4 | 5 | 717 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java |
5 | 5 | 1240 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java |
6 | 5 | 1283 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java |
| ||||
/* * @see ASTVisitor#visit(FieldAccess) */ public boolean visit(FieldAccess node) { getChildNode(node, FieldAccess.EXPRESSION_PROPERTY).accept(this ); this.result.append('.'); getChildNode(node, FieldAccess.NAME_PROPERTY).accept(this ); return false; } |
| ||||
/* * @see ASTVisitor#visit(InstanceofExpression) */ public boolean visit(InstanceofExpression node) { getChildNode(node, InstanceofExpression.LEFT_OPERAND_PROPERTY).accept(this ); this.result.append(" instanceof "); //$NON-NLS-1$ getChildNode(node, InstanceofExpression.RIGHT_OPERAND_PROPERTY).accept(this ); return false; } |
| ||||
/* * @see ASTVisitor#visit(LabeledStatement) */ public boolean visit(LabeledStatement node) { getChildNode(node, LabeledStatement.LABEL_PROPERTY).accept(this ); this.result.append(": "); //$NON-NLS-1$ getChildNode(node, LabeledStatement.BODY_PROPERTY).accept(this ); return false; } |
| ||||
/* * @see ASTVisitor#visit(QualifiedName) */ public boolean visit(QualifiedName node) { getChildNode(node, QualifiedName.QUALIFIER_PROPERTY).accept(this ); this.result.append('.'); getChildNode(node, QualifiedName.NAME_PROPERTY).accept(this ); return false; } |
| ||||
/* * @see ASTVisitor#visit(MemberValuePair) * @since 3.0 */ public boolean visit(MemberValuePair node) { getChildNode(node, MemberValuePair.NAME_PROPERTY).accept(this ); this.result.append('='); getChildNode(node, MemberValuePair.VALUE_PROPERTY).accept(this ); return false; } |
| ||||
/* * @see ASTVisitor#visit(QualifiedType) * @since 3.0 */ public boolean visit(QualifiedType node) { getChildNode(node, QualifiedType.QUALIFIER_PROPERTY).accept(this ); this.result.append('.'); getChildNode(node, QualifiedType.NAME_PROPERTY).accept(this ); return false; } |
| |||
/* * @see ASTVisitor#visit(FieldAccess) */ /* * @see ASTVisitor#visit(InstanceofExpression) */ /* * @see ASTVisitor#visit(LabeledStatement) */ /* * @see ASTVisitor#visit(QualifiedName) */ /* * @see ASTVisitor#visit(MemberValuePair) * @since 3.0 */ /* * @see ASTVisitor#visit(QualifiedType) * @since 3.0 */ public boolean visit( [[#variableb6c1f1e0]] node) { getChildNode(node, [[#variableb6c1f1e0]]. [[#variableb6c1f160]]).accept(this ); this.result.append( [[#variableb6c1f0a0]]); //$NON-NLS-1$ getChildNode(node, [[#variableb6c1f1e0]]. [[#variableb6c1f000]]).accept(this ); return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b6c1f1e0]] | FieldAccess |
1 | 2 | [[#b6c1f1e0]] | InstanceofExpression |
1 | 3 | [[#b6c1f1e0]] | LabeledStatement |
1 | 4 | [[#b6c1f1e0]] | QualifiedName |
1 | 5 | [[#b6c1f1e0]] | MemberValuePair |
1 | 6 | [[#b6c1f1e0]] | QualifiedType |
2 | 1 | [[#b6c1f160]] | EXPRESSION_PROPERTY |
2 | 2 | [[#b6c1f160]] | LEFT_OPERAND_PROPERTY |
2 | 3 | [[#b6c1f160]] | LABEL_PROPERTY |
2 | 4 | [[#b6c1f160]] | QUALIFIER_PROPERTY |
2 | 5 | [[#b6c1f160]] | NAME_PROPERTY |
2 | 6 | [[#b6c1f160]] | QUALIFIER_PROPERTY |
3 | 1 | [[#b6c1f0a0]] | '.' |
3 | 2 | [[#b6c1f0a0]] | " instanceof " |
3 | 3 | [[#b6c1f0a0]] | ": " |
3 | 4 | [[#b6c1f0a0]] | '.' |
3 | 5 | [[#b6c1f0a0]] | '=' |
3 | 6 | [[#b6c1f0a0]] | '.' |
4 | 1 | [[#b6c1f000]] | NAME_PROPERTY |
4 | 2 | [[#b6c1f000]] | RIGHT_OPERAND_PROPERTY |
4 | 3 | [[#b6c1f000]] | BODY_PROPERTY |
4 | 4 | [[#b6c1f000]] | NAME_PROPERTY |
4 | 5 | [[#b6c1f000]] | VALUE_PROPERTY |
4 | 6 | [[#b6c1f000]] | NAME_PROPERTY |