Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 10 | 1 | 0.966 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 1216 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java |
2 | 3 | 1226 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java |
3 | 3 | 1248 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java |
4 | 3 | 1269 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java |
5 | 3 | 1275 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java |
6 | 3 | 1879 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java |
7 | 3 | 1925 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java |
8 | 3 | 1934 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java |
9 | 3 | 2003 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java |
10 | 2 | 2027 | 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$ } |
| ||||
if ((oldChild.typeAndFlags& PROTECT) != 0) { // old child is protected => cannot be unparented throw new IllegalArgumentException("AST node cannot be modified"); //$NON-NLS-1$ } |
| ||||
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$ } |
| ||||
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$ } |
| ||||
if ((oldChild.typeAndFlags& PROTECT) != 0) { // old child is protected => cannot be unparented throw new IllegalArgumentException("AST node cannot be modified"); //$NON-NLS-1$ } |
| ||||
if ((newChild.typeAndFlags& PROTECT) != 0) { // new child node is protected => cannot be parented throw new IllegalArgumentException("AST node cannot be modified"); //$NON-NLS-1$ } |
| ||||
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$ } |
| ||||
if ((oldChild.typeAndFlags& PROTECT) != 0) { // old child node is protected => cannot be unparented throw new IllegalArgumentException("AST node cannot be modified"); //$NON-NLS-1$ } |
| ||||
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$ } |
| ||||
if ((this.typeAndFlags& PROTECT) != 0) { throw new IllegalArgumentException("AST node cannot be modified"); //$NON-NLS-1$ } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#c1247280]] | ASTNode.this |
1 | 2 | [[#c1247280]] | oldChild |
1 | 3 | [[#c1247280]] | this |
1 | 4 | [[#c1247280]] | newChild |
1 | 5 | [[#c1247280]] | oldChild |
1 | 6 | [[#c1247280]] | this |
1 | 7 | [[#c1247280]] | ASTNode.this |
1 | 8 | [[#c1247280]] | ASTNode.this |
1 | 9 | [[#c1247280]] | oldChild |
1 | 10 | [[#c1247280]] | this |