CloneSet1227


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
31010.966statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
131216
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java
231226
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java
331248
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java
431269
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java
531275
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java
631879
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java
731925
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java
831934
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java
932003
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java
1022027
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java
Clone Instance
1
Line Count
3
Source Line
1216
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java

                        if ((ASTNode.this.typeAndFlags&  PROTECT) != 0) {
                                // this node is protected => cannot gain or lose children
                                throw new IllegalArgumentException("AST node cannot be modified"); //$NON-NLS-1$
                        }


Clone Instance
2
Line Count
3
Source Line
1226
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java

                        if ((oldChild.typeAndFlags&  PROTECT) != 0) {
                                // old child is protected => cannot be unparented
                                throw new IllegalArgumentException("AST node cannot be modified"); //$NON-NLS-1$
                        }


Clone Instance
3
Line Count
3
Source Line
1248
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java

                        if ((ASTNode.this.typeAndFlags&  PROTECT) != 0) {
                                // this node is protected => cannot gain or lose children
                                throw new IllegalArgumentException("AST node cannot be modified"); //$NON-NLS-1$
                        }


Clone Instance
4
Line Count
3
Source Line
1269
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java

                        if ((ASTNode.this.typeAndFlags&  PROTECT) != 0) {
                                // this node is protected => cannot gain or lose children
                                throw new IllegalArgumentException("AST node cannot be modified"); //$NON-NLS-1$
                        }


Clone Instance
5
Line Count
3
Source Line
1275
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java

                        if ((oldChild.typeAndFlags&  PROTECT) != 0) {
                                // old child is protected => cannot be unparented
                                throw new IllegalArgumentException("AST node cannot be modified"); //$NON-NLS-1$
                        }


Clone Instance
6
Line Count
3
Source Line
1879
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java

                if ((newChild.typeAndFlags&  PROTECT) != 0) {
                        // new child node is protected => cannot be parented
                        throw new IllegalArgumentException("AST node cannot be modified"); //$NON-NLS-1$
                }


Clone Instance
7
Line Count
3
Source Line
1925
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java

                if ((this.typeAndFlags&  PROTECT) != 0) {
                        // this node is protected => cannot gain or lose children
                        throw new IllegalArgumentException("AST node cannot be modified"); //$NON-NLS-1$
                }


Clone Instance
8
Line Count
3
Source Line
1934
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java

                        if ((oldChild.typeAndFlags&  PROTECT) != 0) {
                                // old child node is protected => cannot be unparented
                                throw new IllegalArgumentException("AST node cannot be modified"); //$NON-NLS-1$
                        }


Clone Instance
9
Line Count
3
Source Line
2003
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java

                if ((this.typeAndFlags&  PROTECT) != 0) {
                        // this node is protected => cannot change valure of properties
                        throw new IllegalArgumentException("AST node cannot be modified"); //$NON-NLS-1$
                }


Clone Instance
10
Line Count
2
Source Line
2027
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java

                if ((this.typeAndFlags&  PROTECT) != 0) {
                        throw new IllegalArgumentException("AST node cannot be modified"); //$NON-NLS-1$
                }


Clone AbstractionParameter Count: 1Parameter Bindings

if (( [[#variablec1247280]].typeAndFlags&PROTECT) != 0) {
  // this node is protected => cannot gain or lose children
  // old child is protected => cannot be unparented
  // new child node is protected => cannot be parented
  // this node is protected => cannot change valure of properties
  // old child node is protected => cannot be unparented
  throw new IllegalArgumentException("AST node cannot be modified"); //$NON-NLS-1$
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#c1247280]]
ASTNode.this 
12[[#c1247280]]
oldChild 
13[[#c1247280]]
this 
14[[#c1247280]]
newChild 
15[[#c1247280]]
oldChild 
16[[#c1247280]]
this 
17[[#c1247280]]
ASTNode.this 
18[[#c1247280]]
ASTNode.this 
19[[#c1247280]]
oldChild 
110[[#c1247280]]
this