CloneSet3547


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8240.968class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
182369
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
282524
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
Clone Instance
1
Line Count
8
Source Line
2369
Source File
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;
        }


Clone Instance
2
Line Count
8
Source Line
2524
Source File
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(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;
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/* (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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#635e34e0]]
PrefixExpression 
12[[#635e34e0]]
SuperFieldAccess 
21[[#635e3500]]
rewriteOperation 
22[[#635e3500]]
rewriteOptionalQualifier 
31[[#635e3460]]
OPERATOR_PROPERTY 
32[[#635e3460]]
QUALIFIER_PROPERTY 
41[[#635e3440]]
OPERAND_PROPERTY 
42[[#635e3440]]
NAME_PROPERTY