Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 4 | 0.968 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 2369 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
2 | 8 | 2524 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
| ||||
/* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(PrefixExpression) */ public boolean visit(PrefixExpression node) { if ( !hasChildrenChanges(node)) { return doVisitUnchangedChildren(node); } rewriteOperation(node, PrefixExpression.OPERATOR_PROPERTY, node.getStartPosition()); rewriteRequiredNode(node, PrefixExpression.OPERAND_PROPERTY); return false; } |
| ||||
/* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(SuperFieldAccess) */ public boolean visit(SuperFieldAccess node) { if ( !hasChildrenChanges(node)) { return doVisitUnchangedChildren(node); } rewriteOptionalQualifier(node, SuperFieldAccess.QUALIFIER_PROPERTY, node.getStartPosition()); rewriteRequiredNode(node, SuperFieldAccess.NAME_PROPERTY); return false; } |
| |||
/* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(PrefixExpression) */ /* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(SuperFieldAccess) */ public boolean visit( [[#variable635e34e0]] node) { if ( !hasChildrenChanges(node)) { return doVisitUnchangedChildren(node); } [[#variable635e3500]](node, [[#variable635e34e0]]. [[#variable635e3460]], node.getStartPosition()); rewriteRequiredNode(node, [[#variable635e34e0]]. [[#variable635e3440]]); return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#635e34e0]] | PrefixExpression |
1 | 2 | [[#635e34e0]] | SuperFieldAccess |
2 | 1 | [[#635e3500]] | rewriteOperation |
2 | 2 | [[#635e3500]] | rewriteOptionalQualifier |
3 | 1 | [[#635e3460]] | OPERATOR_PROPERTY |
3 | 2 | [[#635e3460]] | QUALIFIER_PROPERTY |
4 | 1 | [[#635e3440]] | OPERAND_PROPERTY |
4 | 2 | [[#635e3440]] | NAME_PROPERTY |