CloneSet285


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
81130.970class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
181572
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
281797
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
381810
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
481990
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
582234
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
682261
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
782395
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
882636
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
983133
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
1073199
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
1173210
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
Clone Instance
1
Line Count
8
Source Line
1572
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(ArrayAccess)
         */
        public boolean visit(ArrayAccess node) {
                if ( !hasChildrenChanges(node)) {
                        return doVisitUnchangedChildren(node);
                }

                rewriteRequiredNode(node, ArrayAccess.ARRAY_PROPERTY);
                rewriteRequiredNode(node, ArrayAccess.INDEX_PROPERTY);
                return false;
        }


Clone Instance
2
Line Count
8
Source Line
1797
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(CastExpression)
         */
        public boolean visit(CastExpression node) {
                if ( !hasChildrenChanges(node)) {
                        return doVisitUnchangedChildren(node);
                }

                rewriteRequiredNode(node, CastExpression.TYPE_PROPERTY);
                rewriteRequiredNode(node, CastExpression.EXPRESSION_PROPERTY);
                return false;
        }


Clone Instance
3
Line Count
8
Source Line
1810
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(CatchClause)
         */
        public boolean visit(CatchClause node) { // catch (Exception) Block
                if ( !hasChildrenChanges(node)) {
                        return doVisitUnchangedChildren(node);
                }

                rewriteRequiredNode(node, CatchClause.EXCEPTION_PROPERTY);
                rewriteRequiredNode(node, CatchClause.BODY_PROPERTY);
                return false;
        }


Clone Instance
4
Line Count
8
Source Line
1990
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(FieldAccess)
         */
        public boolean visit(FieldAccess node) { // expression.name
                if ( !hasChildrenChanges(node)) {
                        return doVisitUnchangedChildren(node);
                }

                rewriteRequiredNode(node, FieldAccess.EXPRESSION_PROPERTY); // expression
                rewriteRequiredNode(node, FieldAccess.NAME_PROPERTY); // name
                return false;
        }


Clone Instance
5
Line Count
8
Source Line
2234
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(InstanceofExpression)
         */
        public boolean visit(InstanceofExpression node) {
                if ( !hasChildrenChanges(node)) {
                        return doVisitUnchangedChildren(node);
                }

                rewriteRequiredNode(node, InstanceofExpression.LEFT_OPERAND_PROPERTY);
                rewriteRequiredNode(node, InstanceofExpression.RIGHT_OPERAND_PROPERTY);
                return false;
        }


Clone Instance
6
Line Count
8
Source Line
2261
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(LabeledStatement)
         */
        public boolean visit(LabeledStatement node) {
                if ( !hasChildrenChanges(node)) {
                        return doVisitUnchangedChildren(node);
                }

                rewriteRequiredNode(node, LabeledStatement.LABEL_PROPERTY);
                rewriteRequiredNode(node, LabeledStatement.BODY_PROPERTY);
                return false;
        }


Clone Instance
7
Line Count
8
Source Line
2395
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(QualifiedName)
         */
        public boolean visit(QualifiedName node) {
                if ( !hasChildrenChanges(node)) {
                        return doVisitUnchangedChildren(node);
                }

                rewriteRequiredNode(node, QualifiedName.QUALIFIER_PROPERTY);
                rewriteRequiredNode(node, QualifiedName.NAME_PROPERTY);
                return false;
        }


Clone Instance
8
Line Count
8
Source Line
2636
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(SynchronizedStatement)
         */
        public boolean visit(SynchronizedStatement node) {
                if ( !hasChildrenChanges(node)) {
                        return doVisitUnchangedChildren(node);
                }

                rewriteRequiredNode(node, SynchronizedStatement.EXPRESSION_PROPERTY);
                rewriteRequiredNode(node, SynchronizedStatement.BODY_PROPERTY);
                return false;
        }


Clone Instance
9
Line Count
8
Source Line
3133
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(org.eclipse.jdt.core.dom.MemberValuePair)
         */
        public boolean visit(MemberValuePair node) {
                if ( !hasChildrenChanges(node)) {
                        return doVisitUnchangedChildren(node);
                }
                rewriteRequiredNode(node, MemberValuePair.NAME_PROPERTY);
                rewriteRequiredNode(node, MemberValuePair.VALUE_PROPERTY);

                return false;
        }


Clone Instance
10
Line Count
7
Source Line
3199
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(org.eclipse.jdt.core.dom.QualifiedType)
         */
        public boolean visit(QualifiedType node) {
                if ( !hasChildrenChanges(node)) {
                        return doVisitUnchangedChildren(node);
                }
                rewriteRequiredNode(node, QualifiedType.QUALIFIER_PROPERTY);
                rewriteRequiredNode(node, QualifiedType.NAME_PROPERTY);
                return false;
        }


Clone Instance
11
Line Count
7
Source Line
3210
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(org.eclipse.jdt.core.dom.SingleMemberAnnotation)
         */
        public boolean visit(SingleMemberAnnotation node) {
                if ( !hasChildrenChanges(node)) {
                        return doVisitUnchangedChildren(node);
                }
                rewriteRequiredNode(node, SingleMemberAnnotation.TYPE_NAME_PROPERTY);
                rewriteRequiredNode(node, SingleMemberAnnotation.VALUE_PROPERTY);
                return false;
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/* (non-Javadoc)
         * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(ArrayAccess)
         */
/* (non-Javadoc)
         * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(CastExpression)
         */
/* (non-Javadoc)
         * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(CatchClause)
         */
/* (non-Javadoc)
         * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(FieldAccess)
         */
/* (non-Javadoc)
         * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(InstanceofExpression)
         */
/* (non-Javadoc)
         * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(LabeledStatement)
         */
/* (non-Javadoc)
         * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(QualifiedName)
         */
/* (non-Javadoc)
         * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(SynchronizedStatement)
         */
/* (non-Javadoc)
         * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(org.eclipse.jdt.core.dom.MemberValuePair)
         */
/* (non-Javadoc)
         * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(org.eclipse.jdt.core.dom.QualifiedType)
         */
/* (non-Javadoc)
         * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(org.eclipse.jdt.core.dom.SingleMemberAnnotation)
         */
public boolean visit( [[#variableb9b83040]] node) { // catch (Exception) Block // expression.name
  if ( !hasChildrenChanges(node)) {
    return doVisitUnchangedChildren(node);
  }
  rewriteRequiredNode(node,  [[#variableb9b83040]]. [[#variableb9b82fc0]]); // expression
  rewriteRequiredNode(node,  [[#variableb9b83040]]. [[#variableb9b82f40]]); // name
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b9b83040]]
ArrayAccess 
12[[#b9b83040]]
CastExpression 
13[[#b9b83040]]
CatchClause 
14[[#b9b83040]]
FieldAccess 
15[[#b9b83040]]
InstanceofExpression 
16[[#b9b83040]]
LabeledStatement 
17[[#b9b83040]]
QualifiedName 
18[[#b9b83040]]
SynchronizedStatement 
19[[#b9b83040]]
MemberValuePair 
110[[#b9b83040]]
QualifiedType 
111[[#b9b83040]]
SingleMemberAnnotation 
21[[#b9b82fc0]]
ARRAY_PROPERTY 
22[[#b9b82fc0]]
TYPE_PROPERTY 
23[[#b9b82fc0]]
EXCEPTION_PROPERTY 
24[[#b9b82fc0]]
EXPRESSION_PROPERTY 
25[[#b9b82fc0]]
LEFT_OPERAND_PROPERTY 
26[[#b9b82fc0]]
LABEL_PROPERTY 
27[[#b9b82fc0]]
QUALIFIER_PROPERTY 
28[[#b9b82fc0]]
EXPRESSION_PROPERTY 
29[[#b9b82fc0]]
NAME_PROPERTY 
210[[#b9b82fc0]]
QUALIFIER_PROPERTY 
211[[#b9b82fc0]]
TYPE_NAME_PROPERTY 
31[[#b9b82f40]]
INDEX_PROPERTY 
32[[#b9b82f40]]
EXPRESSION_PROPERTY 
33[[#b9b82f40]]
BODY_PROPERTY 
34[[#b9b82f40]]
NAME_PROPERTY 
35[[#b9b82f40]]
RIGHT_OPERAND_PROPERTY 
36[[#b9b82f40]]
BODY_PROPERTY 
37[[#b9b82f40]]
NAME_PROPERTY 
38[[#b9b82f40]]
BODY_PROPERTY 
39[[#b9b82f40]]
VALUE_PROPERTY 
310[[#b9b82f40]]
NAME_PROPERTY 
311[[#b9b82f40]]
VALUE_PROPERTY