CloneSet764


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5640.960class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15426
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
25530
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
35571
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
45717
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
551240
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
651283
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
Clone Instance
1
Line Count
5
Source Line
426
Source File
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;
        }


Clone Instance
2
Line Count
5
Source Line
530
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java

        /*
         * @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;
        }


Clone Instance
3
Line Count
5
Source Line
571
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java

        /*
         * @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;
        }


Clone Instance
4
Line Count
5
Source Line
717
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java

        /*
         * @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;
        }


Clone Instance
5
Line Count
5
Source Line
1240
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java

        /*
         * @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;
        }


Clone Instance
6
Line Count
5
Source Line
1283
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java

        /*
         * @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;
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/*
         * @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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b6c1f1e0]]
FieldAccess 
12[[#b6c1f1e0]]
InstanceofExpression 
13[[#b6c1f1e0]]
LabeledStatement 
14[[#b6c1f1e0]]
QualifiedName 
15[[#b6c1f1e0]]
MemberValuePair 
16[[#b6c1f1e0]]
QualifiedType 
21[[#b6c1f160]]
EXPRESSION_PROPERTY 
22[[#b6c1f160]]
LEFT_OPERAND_PROPERTY 
23[[#b6c1f160]]
LABEL_PROPERTY 
24[[#b6c1f160]]
QUALIFIER_PROPERTY 
25[[#b6c1f160]]
NAME_PROPERTY 
26[[#b6c1f160]]
QUALIFIER_PROPERTY 
31[[#b6c1f0a0]]
'.' 
32[[#b6c1f0a0]]
" instanceof " 
33[[#b6c1f0a0]]
": " 
34[[#b6c1f0a0]]
'.' 
35[[#b6c1f0a0]]
'=' 
36[[#b6c1f0a0]]
'.' 
41[[#b6c1f000]]
NAME_PROPERTY 
42[[#b6c1f000]]
RIGHT_OPERAND_PROPERTY 
43[[#b6c1f000]]
BODY_PROPERTY 
44[[#b6c1f000]]
NAME_PROPERTY 
45[[#b6c1f000]]
VALUE_PROPERTY 
46[[#b6c1f000]]
NAME_PROPERTY