Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
33 | 40 | 6 | 0.951 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 33 | 275 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AnnotationTypeMemberDeclaration.java |
2 | 35 | 174 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ArrayAccess.java |
3 | 35 | 216 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ArrayAccess.java |
4 | 34 | 345 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/Assignment.java |
5 | 34 | 386 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/Assignment.java |
6 | 33 | 211 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CastExpression.java |
7 | 33 | 200 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ConditionalExpression.java |
8 | 33 | 240 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ConditionalExpression.java |
9 | 33 | 280 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ConditionalExpression.java |
10 | 33 | 174 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DoStatement.java |
11 | 33 | 236 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/EnhancedForStatement.java |
12 | 33 | 269 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/EnumConstantDeclaration.java |
13 | 33 | 204 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/FieldAccess.java |
14 | 32 | 244 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/FieldAccess.java |
15 | 33 | 200 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/IfStatement.java |
16 | 33 | 405 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/InfixExpression.java |
17 | 33 | 445 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/InfixExpression.java |
18 | 33 | 170 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/InstanceofExpression.java |
19 | 32 | 176 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/LabeledStatement.java |
20 | 33 | 204 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MemberRef.java |
21 | 33 | 228 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MemberValuePair.java |
22 | 34 | 553 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodDeclaration.java |
23 | 33 | 301 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodInvocation.java |
24 | 34 | 236 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodRef.java |
25 | 32 | 294 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/PackageDeclaration.java |
26 | 33 | 148 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ParenthesizedExpression.java |
27 | 33 | 278 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/PostfixExpression.java |
28 | 33 | 295 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/PrefixExpression.java |
29 | 33 | 180 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/QualifiedName.java |
30 | 32 | 220 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/QualifiedName.java |
31 | 32 | 232 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/QualifiedType.java |
32 | 32 | 146 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SimpleType.java |
33 | 33 | 174 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SingleMemberAnnotation.java |
34 | 25 | 463 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SingleVariableDeclaration.java |
35 | 33 | 300 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperMethodInvocation.java |
36 | 33 | 186 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SwitchStatement.java |
37 | 33 | 174 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SynchronizedStatement.java |
38 | 33 | 150 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ThrowStatement.java |
39 | 25 | 232 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/VariableDeclarationFragment.java |
40 | 33 | 175 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/WhileStatement.java |
| ||||
/** * Returns the name of the annotation type member declared in this declaration. * * @return the member name node */ public SimpleName getName() { if (this.memberName == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.memberName == null) { preLazyInit(); this.memberName = new SimpleName(this.ast); postLazyInit(this.memberName, NAME_PROPERTY); } } } return this.memberName; } /** * Sets the name of the annotation type member declared in this declaration to the * given name. * * @param memberName the new member name * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ public void setName(SimpleName memberName) { if (memberName == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.memberName; preReplaceChild(oldChild, memberName, NAME_PROPERTY); this.memberName = memberName; postReplaceChild(oldChild, memberName, NAME_PROPERTY); } |
| ||||
/** * Returns the array expression of this array access expression. * * @return the array expression node */ public Expression getArray() { if (this.arrayExpression == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.arrayExpression == null) { preLazyInit(); this.arrayExpression = new SimpleName(this.ast); postLazyInit(this.arrayExpression, ARRAY_PROPERTY); } } } return this.arrayExpression; } /** * Sets the array expression of this array access expression. * * @param expression the array expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setArray(Expression expression) { if (expression == null) { throw new IllegalArgumentException(); } // an ArrayAccess may occur inside an Expression // must check cycles ASTNode oldChild = this.arrayExpression; preReplaceChild(oldChild, expression, ARRAY_PROPERTY); this.arrayExpression = expression; postReplaceChild(oldChild, expression, ARRAY_PROPERTY); } |
| ||||
/** * Returns the index expression of this array access expression. * * @return the index expression node */ public Expression getIndex() { if (this.indexExpression == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.indexExpression == null) { preLazyInit(); this.indexExpression = new SimpleName(this.ast); postLazyInit(this.indexExpression, INDEX_PROPERTY); } } } return this.indexExpression; } /** * Sets the index expression of this array access expression. * * @param expression the index expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setIndex(Expression expression) { if (expression == null) { throw new IllegalArgumentException(); } // an ArrayAccess may occur inside an Expression // must check cycles ASTNode oldChild = this.indexExpression; preReplaceChild(oldChild, expression, INDEX_PROPERTY); this.indexExpression = expression; postReplaceChild(oldChild, expression, INDEX_PROPERTY); } |
| ||||
/** * Returns the left hand side of this assignment expression. * * @return the left hand side node */ public Expression getLeftHandSide() { if (this.leftHandSide == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.leftHandSide == null) { preLazyInit(); this.leftHandSide = new SimpleName(this.ast); postLazyInit(this.leftHandSide, LEFT_HAND_SIDE_PROPERTY); } } } return this.leftHandSide; } /** * Sets the left hand side of this assignment expression. * * @param expression the left hand side node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setLeftHandSide(Expression expression) { if (expression == null) { throw new IllegalArgumentException(); } // an Assignment may occur inside a Expression - must check cycles ASTNode oldChild = this.leftHandSide; preReplaceChild(oldChild, expression, LEFT_HAND_SIDE_PROPERTY); this.leftHandSide = expression; postReplaceChild(oldChild, expression, LEFT_HAND_SIDE_PROPERTY); } |
| ||||
/** * Returns the right hand side of this assignment expression. * * @return the right hand side node */ public Expression getRightHandSide() { if (this.rightHandSide == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.rightHandSide == null) { preLazyInit(); this.rightHandSide = new SimpleName(this.ast); postLazyInit(this.rightHandSide, RIGHT_HAND_SIDE_PROPERTY); } } } return this.rightHandSide; } /** * Sets the right hand side of this assignment expression. * * @param expression the right hand side node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setRightHandSide(Expression expression) { if (expression == null) { throw new IllegalArgumentException(); } // an Assignment may occur inside a Expression - must check cycles ASTNode oldChild = this.rightHandSide; preReplaceChild(oldChild, expression, RIGHT_HAND_SIDE_PROPERTY); this.rightHandSide = expression; postReplaceChild(oldChild, expression, RIGHT_HAND_SIDE_PROPERTY); } |
| ||||
/** * Returns the expression of this cast expression. * * @return the expression node */ public Expression getExpression() { if (this.expression == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.expression == null) { preLazyInit(); this.expression = new SimpleName(this.ast); postLazyInit(this.expression, EXPRESSION_PROPERTY); } } } return this.expression; } /** * Sets the expression of this cast expression. * * @param expression the new expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setExpression(Expression expression) { if (expression == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.expression; preReplaceChild(oldChild, expression, EXPRESSION_PROPERTY); this.expression = expression; postReplaceChild(oldChild, expression, EXPRESSION_PROPERTY); } |
| ||||
/** * Returns the condition of this conditional expression. * * @return the condition node */ public Expression getExpression() { if (this.conditionExpression == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.conditionExpression == null) { preLazyInit(); this.conditionExpression = new SimpleName(this.ast); postLazyInit(this.conditionExpression, EXPRESSION_PROPERTY); } } } return this.conditionExpression; } /** * Sets the condition of this conditional expression. * * @param expression the condition node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setExpression(Expression expression) { if (expression == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.conditionExpression; preReplaceChild(oldChild, expression, EXPRESSION_PROPERTY); this.conditionExpression = expression; postReplaceChild(oldChild, expression, EXPRESSION_PROPERTY); } |
| ||||
/** * Returns the "then" part of this conditional expression. * * @return the "then" expression node */ public Expression getThenExpression() { if (this.thenExpression == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.thenExpression == null) { preLazyInit(); this.thenExpression = new SimpleName(this.ast); postLazyInit(this.thenExpression, THEN_EXPRESSION_PROPERTY); } } } return this.thenExpression; } /** * Sets the "then" part of this conditional expression. * * @param expression the "then" expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setThenExpression(Expression expression) { if (expression == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.thenExpression; preReplaceChild(oldChild, expression, THEN_EXPRESSION_PROPERTY); this.thenExpression = expression; postReplaceChild(oldChild, expression, THEN_EXPRESSION_PROPERTY); } |
| ||||
/** * Returns the "else" part of this conditional expression. * * @return the "else" expression node */ public Expression getElseExpression() { if (this.elseExpression == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.elseExpression == null) { preLazyInit(); this.elseExpression = new SimpleName(this.ast); postLazyInit(this.elseExpression, ELSE_EXPRESSION_PROPERTY); } } } return this.elseExpression; } /** * Sets the "else" part of this conditional expression. * * @param expression the "else" expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setElseExpression(Expression expression) { if (expression == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.elseExpression; preReplaceChild(oldChild, expression, ELSE_EXPRESSION_PROPERTY); this.elseExpression = expression; postReplaceChild(oldChild, expression, ELSE_EXPRESSION_PROPERTY); } |
| ||||
/** * Returns the expression of this do statement. * * @return the expression node */ public Expression getExpression() { if (this.expression == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.expression == null) { preLazyInit(); this.expression = new SimpleName(this.ast); postLazyInit(this.expression, EXPRESSION_PROPERTY); } } } return this.expression; } /** * Sets the expression of this do statement. * * @param expression the expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setExpression(Expression expression) { if (expression == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.expression; preReplaceChild(oldChild, expression, EXPRESSION_PROPERTY); this.expression = expression; postReplaceChild(oldChild, expression, EXPRESSION_PROPERTY); } |
| ||||
/** * Returns the expression of this enhanced for statement. * * @return the expression node */ public Expression getExpression() { if (this.expression == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.expression == null) { preLazyInit(); this.expression = new SimpleName(this.ast); postLazyInit(this.expression, EXPRESSION_PROPERTY); } } } return this.expression; } /** * Sets the expression of this enhanced for statement. * * @param expression the new expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setExpression(Expression expression) { if (expression == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.expression; preReplaceChild(oldChild, expression, EXPRESSION_PROPERTY); this.expression = expression; postReplaceChild(oldChild, expression, EXPRESSION_PROPERTY); } |
| ||||
/** * Returns the name of the constant declared in this enum declaration. * * @return the constant name node */ public SimpleName getName() { if (this.constantName == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.constantName == null) { preLazyInit(); this.constantName = new SimpleName(this.ast); postLazyInit(this.constantName, NAME_PROPERTY); } } } return this.constantName; } /** * Sets the name of the constant declared in this enum declaration to the * given name. * * @param constantName the new constant name * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ public void setName(SimpleName constantName) { if (constantName == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.constantName; preReplaceChild(oldChild, constantName, NAME_PROPERTY); this.constantName = constantName; postReplaceChild(oldChild, constantName, NAME_PROPERTY); } |
| ||||
/** * Returns the expression of this field access expression. * * @return the expression node */ public Expression getExpression() { if (this.expression == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.expression == null) { preLazyInit(); this.expression = new SimpleName(this.ast); postLazyInit(this.expression, EXPRESSION_PROPERTY); } } } return this.expression; } /** * Sets the expression of this field access expression. * * @param expression the new expression * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setExpression(Expression expression) { if (expression == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.expression; preReplaceChild(oldChild, expression, EXPRESSION_PROPERTY); this.expression = expression; postReplaceChild(oldChild, expression, EXPRESSION_PROPERTY); } |
| ||||
/** * Returns the name of the field accessed in this field access expression. * * @return the field name */ public SimpleName getName() { if (this.fieldName == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.fieldName == null) { preLazyInit(); this.fieldName = new SimpleName(this.ast); postLazyInit(this.fieldName, NAME_PROPERTY); } } } return this.fieldName; } /** * Sets the name of the field accessed in this field access expression. * * @param fieldName the field name * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ public void setName(SimpleName fieldName) { if (fieldName == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.fieldName; preReplaceChild(oldChild, fieldName, NAME_PROPERTY); this.fieldName = fieldName; postReplaceChild(oldChild, fieldName, NAME_PROPERTY); } |
| ||||
/** * Returns the expression of this if statement. * * @return the expression node */ public Expression getExpression() { if (this.expression == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.expression == null) { preLazyInit(); this.expression = new SimpleName(this.ast); postLazyInit(this.expression, EXPRESSION_PROPERTY); } } } return this.expression; } /** * Sets the condition of this if statement. * * @param expression the expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setExpression(Expression expression) { if (expression == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.expression; preReplaceChild(oldChild, expression, EXPRESSION_PROPERTY); this.expression = expression; postReplaceChild(oldChild, expression, EXPRESSION_PROPERTY); } |
| ||||
/** * Returns the left operand of this infix expression. * * @return the left operand node */ public Expression getLeftOperand() { if (this.leftOperand == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.leftOperand == null) { preLazyInit(); this.leftOperand = new SimpleName(this.ast); postLazyInit(this.leftOperand, LEFT_OPERAND_PROPERTY); } } } return this.leftOperand; } /** * Sets the left operand of this infix expression. * * @param expression the left operand node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setLeftOperand(Expression expression) { if (expression == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.leftOperand; preReplaceChild(oldChild, expression, LEFT_OPERAND_PROPERTY); this.leftOperand = expression; postReplaceChild(oldChild, expression, LEFT_OPERAND_PROPERTY); } |
| ||||
/** * Returns the right operand of this infix expression. * * @return the right operand node */ public Expression getRightOperand() { if (this.rightOperand == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.rightOperand == null) { preLazyInit(); this.rightOperand = new SimpleName(this.ast); postLazyInit(this.rightOperand, RIGHT_OPERAND_PROPERTY); } } } return this.rightOperand; } /** * Sets the right operand of this infix expression. * * @param expression the right operand node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setRightOperand(Expression expression) { if (expression == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.rightOperand; preReplaceChild(oldChild, expression, RIGHT_OPERAND_PROPERTY); this.rightOperand = expression; postReplaceChild(oldChild, expression, RIGHT_OPERAND_PROPERTY); } |
| ||||
/** * Returns the left operand of this instanceof expression. * * @return the left operand node */ public Expression getLeftOperand() { if (this.leftOperand == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.leftOperand == null) { preLazyInit(); this.leftOperand = new SimpleName(this.ast); postLazyInit(this.leftOperand, LEFT_OPERAND_PROPERTY); } } } return this.leftOperand; } /** * Sets the left operand of this instanceof expression. * * @param expression the left operand node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setLeftOperand(Expression expression) { if (expression == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.leftOperand; preReplaceChild(oldChild, expression, LEFT_OPERAND_PROPERTY); this.leftOperand = expression; postReplaceChild(oldChild, expression, LEFT_OPERAND_PROPERTY); } |
| ||||
/** * Returns the label of this labeled statement. * * @return the variable name node */ public SimpleName getLabel() { if (this.labelName == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.labelName == null) { preLazyInit(); this.labelName = new SimpleName(this.ast); postLazyInit(this.labelName, LABEL_PROPERTY); } } } return this.labelName; } /** * Sets the label of this labeled statement. * * @param label the new label * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ public void setLabel(SimpleName label) { if (label == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.labelName; preReplaceChild(oldChild, label, LABEL_PROPERTY); this.labelName = label; postReplaceChild(oldChild, label, LABEL_PROPERTY); } |
| ||||
/** * Returns the name of the referenced member. * * @return the member name node */ public SimpleName getName() { if (this.memberName == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.memberName == null) { preLazyInit(); this.memberName = new SimpleName(this.ast); postLazyInit(this.memberName, NAME_PROPERTY); } } } return this.memberName; } /** * Sets the name of the referenced member to the given name. * * @param name the new member name node * @exception IllegalArgumentException if: * <ul> * <li>the name is <code>null</code></li> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ public void setName(SimpleName name) { if (name == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.memberName; preReplaceChild(oldChild, name, NAME_PROPERTY); this.memberName = name; postReplaceChild(oldChild, name, NAME_PROPERTY); } |
| ||||
/** * Returns the value expression. * * @return the value expression */ public Expression getValue() { if (this.value == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.value == null) { preLazyInit(); this.value = new SimpleName(this.ast); postLazyInit(this.value, VALUE_PROPERTY); } } } return this.value; } /** * Sets the value of this pair. * * @param value the new value * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setValue(Expression value) { if (value == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.value; preReplaceChild(oldChild, value, VALUE_PROPERTY); this.value = value; postReplaceChild(oldChild, value, VALUE_PROPERTY); } |
| ||||
/** * Returns the name of the method declared in this method declaration. * For a constructor declaration, this should be the same as the name * of the class. * * @return the method name node */ public SimpleName getName() { if (this.methodName == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.methodName == null) { preLazyInit(); this.methodName = new SimpleName(this.ast); postLazyInit(this.methodName, NAME_PROPERTY); } } } return this.methodName; } /** * Sets the name of the method declared in this method declaration to the * given name. For a constructor declaration, this should be the same as * the name of the class. * * @param methodName the new method name * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ public void setName(SimpleName methodName) { if (methodName == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.methodName; preReplaceChild(oldChild, methodName, NAME_PROPERTY); this.methodName = methodName; postReplaceChild(oldChild, methodName, NAME_PROPERTY); } |
| ||||
/** * Returns the name of the method invoked in this expression. * * @return the method name node */ public SimpleName getName() { if (this.methodName == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.methodName == null) { preLazyInit(); this.methodName = new SimpleName(this.ast); postLazyInit(this.methodName, NAME_PROPERTY); } } } return this.methodName; } /** * Sets the name of the method invoked in this expression to the * given name. * * @param name the new method name * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ public void setName(SimpleName name) { if (name == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.methodName; preReplaceChild(oldChild, name, NAME_PROPERTY); this.methodName = name; postReplaceChild(oldChild, name, NAME_PROPERTY); } |
| ||||
/** * Returns the name of the referenced method or constructor. * * @return the method or constructor name node */ public SimpleName getName() { if (this.methodName == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.methodName == null) { preLazyInit(); this.methodName = new SimpleName(this.ast); postLazyInit(this.methodName, NAME_PROPERTY); } } } return this.methodName; } /** * Sets the name of the referenced method or constructor to the * given name. * * @param name the new method or constructor name node * @exception IllegalArgumentException if: * <ul> * <li>the name is <code>null</code></li> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ public void setName(SimpleName name) { if (name == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.methodName; preReplaceChild(oldChild, name, NAME_PROPERTY); this.methodName = name; postReplaceChild(oldChild, name, NAME_PROPERTY); } |
| ||||
/** * Returns the package name of this package declaration. * * @return the package name node */ public Name getName() { if (this.packageName == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.packageName == null) { preLazyInit(); this.packageName = new SimpleName(this.ast); postLazyInit(this.packageName, NAME_PROPERTY); } } } return this.packageName; } /** * Sets the package name of this package declaration to the given name. * * @param name the new package name * @exception IllegalArgumentException if`: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ public void setName(Name name) { if (name == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.packageName; preReplaceChild(oldChild, name, NAME_PROPERTY); this.packageName = name; postReplaceChild(oldChild, name, NAME_PROPERTY); } |
| ||||
/** * Returns the expression of this parenthesized expression. * * @return the expression node */ public Expression getExpression() { if (this.expression == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.expression == null) { preLazyInit(); this.expression = new SimpleName(this.ast); postLazyInit(this.expression, EXPRESSION_PROPERTY); } } } return this.expression; } /** * Sets the expression of this parenthesized expression. * * @param expression the new expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setExpression(Expression expression) { if (expression == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.expression; preReplaceChild(oldChild, expression, EXPRESSION_PROPERTY); this.expression = expression; postReplaceChild(oldChild, expression, EXPRESSION_PROPERTY); } |
| ||||
/** * Returns the operand of this postfix expression. * * @return the operand expression node */ public Expression getOperand() { if (this.operand == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.operand == null) { preLazyInit(); this.operand = new SimpleName(this.ast); postLazyInit(this.operand, OPERAND_PROPERTY); } } } return this.operand; } /** * Sets the operand of this postfix expression. * * @param expression the operand expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setOperand(Expression expression) { if (expression == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.operand; preReplaceChild(oldChild, expression, OPERAND_PROPERTY); this.operand = expression; postReplaceChild(oldChild, expression, OPERAND_PROPERTY); } |
| ||||
/** * Returns the operand of this prefix expression. * * @return the operand expression node */ public Expression getOperand() { if (this.operand == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.operand == null) { preLazyInit(); this.operand = new SimpleName(this.ast); postLazyInit(this.operand, OPERAND_PROPERTY); } } } return this.operand; } /** * Sets the operand of this prefix expression. * * @param expression the operand expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setOperand(Expression expression) { if (expression == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.operand; preReplaceChild(oldChild, expression, OPERAND_PROPERTY); this.operand = expression; postReplaceChild(oldChild, expression, OPERAND_PROPERTY); } |
| ||||
/** * Returns the qualifier part of this qualified name. * * @return the qualifier part of this qualified name */ public Name getQualifier() { if (this.qualifier == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.qualifier == null) { preLazyInit(); this.qualifier = new SimpleName(this.ast); postLazyInit(this.qualifier, QUALIFIER_PROPERTY); } } } return this.qualifier; } /** * Sets the qualifier of this qualified name to the given name. * * @param qualifier the qualifier of this qualified name * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setQualifier(Name qualifier) { if (qualifier == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.qualifier; preReplaceChild(oldChild, qualifier, QUALIFIER_PROPERTY); this.qualifier = qualifier; postReplaceChild(oldChild, qualifier, QUALIFIER_PROPERTY); } |
| ||||
/** * Returns the name part of this qualified name. * * @return the name being qualified */ public SimpleName getName() { if (this.name == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.name == null) { preLazyInit(); this.name = new SimpleName(this.ast); postLazyInit(this.name, NAME_PROPERTY); } } } return this.name; } /** * Sets the name part of this qualified name to the given simple name. * * @param name the identifier of this qualified name * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ public void setName(SimpleName name) { if (name == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.name; preReplaceChild(oldChild, name, NAME_PROPERTY); this.name = name; postReplaceChild(oldChild, name, NAME_PROPERTY); } |
| ||||
/** * Returns the name part of this qualified type. * * @return the name being qualified */ public SimpleName getName() { if (this.name == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.name == null) { preLazyInit(); this.name = new SimpleName(this.ast); postLazyInit(this.name, NAME_PROPERTY); } } } return this.name; } /** * Sets the name part of this qualified type to the given simple name. * * @param name the identifier of this qualified name * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ public void setName(SimpleName name) { if (name == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.name; preReplaceChild(oldChild, name, NAME_PROPERTY); this.name = name; postReplaceChild(oldChild, name, NAME_PROPERTY); } |
| ||||
/** * Returns the name of this simple type. * * @return the name of this simple type */ public Name getName() { if (this.typeName == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.typeName == null) { preLazyInit(); this.typeName = new SimpleName(this.ast); postLazyInit(this.typeName, NAME_PROPERTY); } } } return this.typeName; } /** * Sets the name of this simple type to the given name. * * @param typeName the new name of this simple type * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ public void setName(Name typeName) { if (typeName == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.typeName; preReplaceChild(oldChild, typeName, NAME_PROPERTY); this.typeName = typeName; postReplaceChild(oldChild, typeName, NAME_PROPERTY); } |
| ||||
/** * Returns the value of this annotation. * * @return the value node */ public Expression getValue() { if (this.value == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.value == null) { preLazyInit(); this.value = new SimpleName(this.ast); postLazyInit(this.value, VALUE_PROPERTY); } } } return this.value; } /** * Sets the value of this annotation. * * @param value the new value * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setValue(Expression value) { if (value == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.value; preReplaceChild(oldChild, value, VALUE_PROPERTY); this.value = value; postReplaceChild(oldChild, value, VALUE_PROPERTY); } |
| ||||
/* (omit javadoc for this method) * Method declared on VariableDeclaration. */ public SimpleName getName() { if (this.variableName == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.variableName == null) { preLazyInit(); this.variableName = new SimpleName(this.ast); postLazyInit(this.variableName, NAME_PROPERTY); } } } return this.variableName; } /* (omit javadoc for this method) * Method declared on VariableDeclaration. */ public void setName(SimpleName variableName) { if (variableName == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.variableName; preReplaceChild(oldChild, variableName, NAME_PROPERTY); this.variableName = variableName; postReplaceChild(oldChild, variableName, NAME_PROPERTY); } |
| ||||
/** * Returns the name of the method invoked in this expression. * * @return the method name node */ public SimpleName getName() { if (this.methodName == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.methodName == null) { preLazyInit(); this.methodName = new SimpleName(this.ast); postLazyInit(this.methodName, NAME_PROPERTY); } } } return this.methodName; } /** * Sets the name of the method invoked in this expression to the * given name. * * @param name the new method name * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ public void setName(SimpleName name) { if (name == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.methodName; preReplaceChild(oldChild, name, NAME_PROPERTY); this.methodName = name; postReplaceChild(oldChild, name, NAME_PROPERTY); } |
| ||||
/** * Returns the expression of this switch statement. * * @return the expression node */ public Expression getExpression() { if (this.expression == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.expression == null) { preLazyInit(); this.expression = new SimpleName(this.ast); postLazyInit(this.expression, EXPRESSION_PROPERTY); } } } return this.expression; } /** * Sets the expression of this switch statement. * * @param expression the new expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setExpression(Expression expression) { if (expression == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.expression; preReplaceChild(oldChild, expression, EXPRESSION_PROPERTY); this.expression = expression; postReplaceChild(oldChild, expression, EXPRESSION_PROPERTY); } |
| ||||
/** * Returns the expression of this synchronized statement. * * @return the expression node */ public Expression getExpression() { if (this.expression == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.expression == null) { preLazyInit(); this.expression = new SimpleName(this.ast); postLazyInit(this.expression, EXPRESSION_PROPERTY); } } } return this.expression; } /** * Sets the expression of this synchronized statement. * * @param expression the expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setExpression(Expression expression) { if (expression == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.expression; preReplaceChild(oldChild, expression, EXPRESSION_PROPERTY); this.expression = expression; postReplaceChild(oldChild, expression, EXPRESSION_PROPERTY); } |
| ||||
/** * Returns the expression of this throw statement. * * @return the expression node */ public Expression getExpression() { if (this.expression == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.expression == null) { preLazyInit(); this.expression = new SimpleName(this.ast); postLazyInit(this.expression, EXPRESSION_PROPERTY); } } } return this.expression; } /** * Sets the expression of this throw statement. * * @param expression the new expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setExpression(Expression expression) { if (expression == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.expression; preReplaceChild(oldChild, expression, EXPRESSION_PROPERTY); this.expression = expression; postReplaceChild(oldChild, expression, EXPRESSION_PROPERTY); } |
| ||||
/* (omit javadoc for this method) * Method declared on VariableDeclaration. */ public SimpleName getName() { if (this.variableName == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.variableName == null) { preLazyInit(); this.variableName = new SimpleName(this.ast); postLazyInit(this.variableName, NAME_PROPERTY); } } } return this.variableName; } /* (omit javadoc for this method) * Method declared on VariableDeclaration. */ public void setName(SimpleName variableName) { if (variableName == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.variableName; preReplaceChild(oldChild, variableName, NAME_PROPERTY); this.variableName = variableName; postReplaceChild(oldChild, variableName, NAME_PROPERTY); } |
| ||||
/** * Returns the expression of this while statement. * * @return the expression node */ public Expression getExpression() { if (this.expression == null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this.expression == null) { preLazyInit(); this.expression = new SimpleName(this.ast); postLazyInit(this.expression, EXPRESSION_PROPERTY); } } } return this.expression; } /** * Sets the expression of this while statement. * * @param expression the expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setExpression(Expression expression) { if (expression == null) { throw new IllegalArgumentException(); } ASTNode oldChild = this.expression; preReplaceChild(oldChild, expression, EXPRESSION_PROPERTY); this.expression = expression; postReplaceChild(oldChild, expression, EXPRESSION_PROPERTY); } |
| |||
/** * Returns the expression of this while statement. * * @return the expression node */ /* (omit javadoc for this method) * Method declared on VariableDeclaration. */ /** * Returns the name of the method invoked in this expression. * * @return the method name node */ /** * Returns the left operand of this instanceof expression. * * @return the left operand node */ /** * Returns the value of this annotation. * * @return the value node */ /** * Returns the name part of this qualified type. * * @return the name being qualified */ /** * Returns the operand of this prefix expression. * * @return the operand expression node */ /** * Returns the name of the referenced member. * * @return the member name node */ /** * Returns the name of the method declared in this method declaration. * For a constructor declaration, this should be the same as the name * of the class. * * @return the method name node */ /** * Returns the name of this simple type. * * @return the name of this simple type */ /** * Returns the qualifier part of this qualified name. * * @return the qualifier part of this qualified name */ /** * Returns the package name of this package declaration. * * @return the package name node */ /** * Returns the label of this labeled statement. * * @return the variable name node */ /** * Returns the right operand of this infix expression. * * @return the right operand node */ /** * Returns the name of the constant declared in this enum declaration. * * @return the constant name node */ /** * Returns the condition of this conditional expression. * * @return the condition node */ /** * Returns the "then" part of this conditional expression. * * @return the "then" expression node */ /** * Returns the "else" part of this conditional expression. * * @return the "else" expression node */ /** * Returns the left hand side of this assignment expression. * * @return the left hand side node */ /** * Returns the right hand side of this assignment expression. * * @return the right hand side node */ /** * Returns the array expression of this array access expression. * * @return the array expression node */ /** * Returns the index expression of this array access expression. * * @return the index expression node */ /** * Returns the name of the field accessed in this field access expression. * * @return the field name */ /** * Returns the name of the annotation type member declared in this declaration. * * @return the member name node */ /** * Returns the expression of this cast expression. * * @return the expression node */ /** * Returns the expression of this throw statement. * * @return the expression node */ /** * Returns the expression of this do statement. * * @return the expression node */ /** * Returns the expression of this parenthesized expression. * * @return the expression node */ /** * Returns the expression of this enhanced for statement. * * @return the expression node */ /** * Returns the name of the referenced method or constructor. * * @return the method or constructor name node */ /** * Returns the expression of this field access expression. * * @return the expression node */ /** * Returns the operand of this postfix expression. * * @return the operand expression node */ /** * Returns the value expression. * * @return the value expression */ /** * Returns the name part of this qualified name. * * @return the name being qualified */ /** * Returns the left operand of this infix expression. * * @return the left operand node */ /** * Returns the expression of this if statement. * * @return the expression node */ /** * Returns the expression of this synchronized statement. * * @return the expression node */ /** * Returns the expression of this switch statement. * * @return the expression node */ public [[#variable97b8d480]] [[#variable97b8d420]]() { if (this. [[#variable97b8d360]]== null) { // lazy init must be thread-safe for readers synchronized (this ) { if (this. [[#variable97b8d360]]== null) { preLazyInit(); this. [[#variable97b8d360]]= new SimpleName(this.ast); postLazyInit(this. [[#variable97b8d360]], [[#variable97b8d300]]); } } } return this. [[#variable97b8d360]]; } /** * Sets the expression of this while statement. * * @param expression the expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ /* (omit javadoc for this method) * Method declared on VariableDeclaration. */ /** * Sets the name of the method invoked in this expression to the * given name. * * @param name the new method name * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ /** * Sets the left operand of this instanceof expression. * * @param expression the left operand node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ /** * Sets the value of this annotation. * * @param value the new value * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ /** * Sets the name part of this qualified type to the given simple name. * * @param name the identifier of this qualified name * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ /** * Sets the operand of this prefix expression. * * @param expression the operand expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ /** * Sets the name of the referenced member to the given name. * * @param name the new member name node * @exception IllegalArgumentException if: * <ul> * <li>the name is <code>null</code></li> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ /** * Sets the name of the method declared in this method declaration to the * given name. For a constructor declaration, this should be the same as * the name of the class. * * @param methodName the new method name * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ /** * Sets the name of this simple type to the given name. * * @param typeName the new name of this simple type * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ /** * Sets the qualifier of this qualified name to the given name. * * @param qualifier the qualifier of this qualified name * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ /** * Sets the package name of this package declaration to the given name. * * @param name the new package name * @exception IllegalArgumentException if`: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ /** * Sets the label of this labeled statement. * * @param label the new label * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ /** * Sets the right operand of this infix expression. * * @param expression the right operand node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ /** * Sets the name of the constant declared in this enum declaration to the * given name. * * @param constantName the new constant name * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ /** * Sets the condition of this conditional expression. * * @param expression the condition node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ /** * Sets the "then" part of this conditional expression. * * @param expression the "then" expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ /** * Sets the "else" part of this conditional expression. * * @param expression the "else" expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ /** * Sets the left hand side of this assignment expression. * * @param expression the left hand side node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ /** * Sets the right hand side of this assignment expression. * * @param expression the right hand side node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ /** * Sets the array expression of this array access expression. * * @param expression the array expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ /** * Sets the index expression of this array access expression. * * @param expression the index expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ /** * Sets the name of the field accessed in this field access expression. * * @param fieldName the field name * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ /** * Sets the name of the annotation type member declared in this declaration to the * given name. * * @param memberName the new member name * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ /** * Sets the expression of this cast expression. * * @param expression the new expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ /** * Sets the expression of this throw statement. * * @param expression the new expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ /** * Sets the expression of this do statement. * * @param expression the expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ /** * Sets the expression of this parenthesized expression. * * @param expression the new expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ /** * Sets the expression of this enhanced for statement. * * @param expression the new expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ /** * Sets the name of the referenced method or constructor to the * given name. * * @param name the new method or constructor name node * @exception IllegalArgumentException if: * <ul> * <li>the name is <code>null</code></li> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ /** * Sets the expression of this field access expression. * * @param expression the new expression * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ /** * Sets the operand of this postfix expression. * * @param expression the operand expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ /** * Sets the value of this pair. * * @param value the new value * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ /** * Sets the name part of this qualified name to the given simple name. * * @param name the identifier of this qualified name * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> */ /** * Sets the left operand of this infix expression. * * @param expression the left operand node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ /** * Sets the condition of this if statement. * * @param expression the expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ /** * Sets the expression of this synchronized statement. * * @param expression the expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ /** * Sets the expression of this switch statement. * * @param expression the new expression node * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void [[#variable97b8c620]]( [[#variable97b8d480]] [[#variable97b8d240]]) { if ( [[#variable97b8d240]]== null) { throw new IllegalArgumentException(); } // an Assignment may occur inside a Expression - must check cycles // an ArrayAccess may occur inside an Expression // must check cycles ASTNode oldChild = this. [[#variable97b8d360]]; preReplaceChild(oldChild, [[#variable97b8d240]], [[#variable97b8d300]]); this. [[#variable97b8d360]]= [[#variable97b8d240]]; postReplaceChild(oldChild, [[#variable97b8d240]], [[#variable97b8d300]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#97b8d480]] | Expression |
1 | 2 | [[#97b8d480]] | SimpleName |
1 | 3 | [[#97b8d480]] | SimpleName |
1 | 4 | [[#97b8d480]] | Expression |
1 | 5 | [[#97b8d480]] | Expression |
1 | 6 | [[#97b8d480]] | SimpleName |
1 | 7 | [[#97b8d480]] | Expression |
1 | 8 | [[#97b8d480]] | SimpleName |
1 | 9 | [[#97b8d480]] | SimpleName |
1 | 10 | [[#97b8d480]] | Name |
1 | 11 | [[#97b8d480]] | Name |
1 | 12 | [[#97b8d480]] | Name |
1 | 13 | [[#97b8d480]] | SimpleName |
1 | 14 | [[#97b8d480]] | Expression |
1 | 15 | [[#97b8d480]] | SimpleName |
1 | 16 | [[#97b8d480]] | Expression |
1 | 17 | [[#97b8d480]] | Expression |
1 | 18 | [[#97b8d480]] | Expression |
1 | 19 | [[#97b8d480]] | Expression |
1 | 20 | [[#97b8d480]] | Expression |
1 | 21 | [[#97b8d480]] | Expression |
1 | 22 | [[#97b8d480]] | Expression |
1 | 23 | [[#97b8d480]] | SimpleName |
1 | 24 | [[#97b8d480]] | SimpleName |
1 | 25 | [[#97b8d480]] | Expression |
1 | 26 | [[#97b8d480]] | Expression |
1 | 27 | [[#97b8d480]] | Expression |
1 | 28 | [[#97b8d480]] | Expression |
1 | 29 | [[#97b8d480]] | Expression |
1 | 30 | [[#97b8d480]] | SimpleName |
1 | 31 | [[#97b8d480]] | Expression |
1 | 32 | [[#97b8d480]] | Expression |
1 | 33 | [[#97b8d480]] | Expression |
1 | 34 | [[#97b8d480]] | SimpleName |
1 | 35 | [[#97b8d480]] | Expression |
1 | 36 | [[#97b8d480]] | Expression |
1 | 37 | [[#97b8d480]] | SimpleName |
1 | 38 | [[#97b8d480]] | Expression |
1 | 39 | [[#97b8d480]] | SimpleName |
1 | 40 | [[#97b8d480]] | Expression |
2 | 1 | [[#97b8d420]] | getExpression |
2 | 2 | [[#97b8d420]] | getName |
2 | 3 | [[#97b8d420]] | getName |
2 | 4 | [[#97b8d420]] | getLeftOperand |
2 | 5 | [[#97b8d420]] | getValue |
2 | 6 | [[#97b8d420]] | getName |
2 | 7 | [[#97b8d420]] | getOperand |
2 | 8 | [[#97b8d420]] | getName |
2 | 9 | [[#97b8d420]] | getName |
2 | 10 | [[#97b8d420]] | getName |
2 | 11 | [[#97b8d420]] | getQualifier |
2 | 12 | [[#97b8d420]] | getName |
2 | 13 | [[#97b8d420]] | getLabel |
2 | 14 | [[#97b8d420]] | getRightOperand |
2 | 15 | [[#97b8d420]] | getName |
2 | 16 | [[#97b8d420]] | getExpression |
2 | 17 | [[#97b8d420]] | getThenExpression |
2 | 18 | [[#97b8d420]] | getElseExpression |
2 | 19 | [[#97b8d420]] | getLeftHandSide |
2 | 20 | [[#97b8d420]] | getRightHandSide |
2 | 21 | [[#97b8d420]] | getArray |
2 | 22 | [[#97b8d420]] | getIndex |
2 | 23 | [[#97b8d420]] | getName |
2 | 24 | [[#97b8d420]] | getName |
2 | 25 | [[#97b8d420]] | getExpression |
2 | 26 | [[#97b8d420]] | getExpression |
2 | 27 | [[#97b8d420]] | getExpression |
2 | 28 | [[#97b8d420]] | getExpression |
2 | 29 | [[#97b8d420]] | getExpression |
2 | 30 | [[#97b8d420]] | getName |
2 | 31 | [[#97b8d420]] | getExpression |
2 | 32 | [[#97b8d420]] | getOperand |
2 | 33 | [[#97b8d420]] | getValue |
2 | 34 | [[#97b8d420]] | getName |
2 | 35 | [[#97b8d420]] | getLeftOperand |
2 | 36 | [[#97b8d420]] | getExpression |
2 | 37 | [[#97b8d420]] | getName |
2 | 38 | [[#97b8d420]] | getExpression |
2 | 39 | [[#97b8d420]] | getName |
2 | 40 | [[#97b8d420]] | getExpression |
3 | 1 | [[#97b8d360]] | expression |
3 | 2 | [[#97b8d360]] | variableName |
3 | 3 | [[#97b8d360]] | methodName |
3 | 4 | [[#97b8d360]] | leftOperand |
3 | 5 | [[#97b8d360]] | value |
3 | 6 | [[#97b8d360]] | name |
3 | 7 | [[#97b8d360]] | operand |
3 | 8 | [[#97b8d360]] | memberName |
3 | 9 | [[#97b8d360]] | methodName |
3 | 10 | [[#97b8d360]] | typeName |
3 | 11 | [[#97b8d360]] | qualifier |
3 | 12 | [[#97b8d360]] | packageName |
3 | 13 | [[#97b8d360]] | labelName |
3 | 14 | [[#97b8d360]] | rightOperand |
3 | 15 | [[#97b8d360]] | constantName |
3 | 16 | [[#97b8d360]] | conditionExpression |
3 | 17 | [[#97b8d360]] | thenExpression |
3 | 18 | [[#97b8d360]] | elseExpression |
3 | 19 | [[#97b8d360]] | leftHandSide |
3 | 20 | [[#97b8d360]] | rightHandSide |
3 | 21 | [[#97b8d360]] | arrayExpression |
3 | 22 | [[#97b8d360]] | indexExpression |
3 | 23 | [[#97b8d360]] | fieldName |
3 | 24 | [[#97b8d360]] | memberName |
3 | 25 | [[#97b8d360]] | expression |
3 | 26 | [[#97b8d360]] | expression |
3 | 27 | [[#97b8d360]] | expression |
3 | 28 | [[#97b8d360]] | expression |
3 | 29 | [[#97b8d360]] | expression |
3 | 30 | [[#97b8d360]] | methodName |
3 | 31 | [[#97b8d360]] | expression |
3 | 32 | [[#97b8d360]] | operand |
3 | 33 | [[#97b8d360]] | value |
3 | 34 | [[#97b8d360]] | name |
3 | 35 | [[#97b8d360]] | leftOperand |
3 | 36 | [[#97b8d360]] | expression |
3 | 37 | [[#97b8d360]] | methodName |
3 | 38 | [[#97b8d360]] | expression |
3 | 39 | [[#97b8d360]] | variableName |
3 | 40 | [[#97b8d360]] | expression |
4 | 1 | [[#97b8d300]] | EXPRESSION_PROPERTY |
4 | 2 | [[#97b8d300]] | NAME_PROPERTY |
4 | 3 | [[#97b8d300]] | NAME_PROPERTY |
4 | 4 | [[#97b8d300]] | LEFT_OPERAND_PROPERTY |
4 | 5 | [[#97b8d300]] | VALUE_PROPERTY |
4 | 6 | [[#97b8d300]] | NAME_PROPERTY |
4 | 7 | [[#97b8d300]] | OPERAND_PROPERTY |
4 | 8 | [[#97b8d300]] | NAME_PROPERTY |
4 | 9 | [[#97b8d300]] | NAME_PROPERTY |
4 | 10 | [[#97b8d300]] | NAME_PROPERTY |
4 | 11 | [[#97b8d300]] | QUALIFIER_PROPERTY |
4 | 12 | [[#97b8d300]] | NAME_PROPERTY |
4 | 13 | [[#97b8d300]] | LABEL_PROPERTY |
4 | 14 | [[#97b8d300]] | RIGHT_OPERAND_PROPERTY |
4 | 15 | [[#97b8d300]] | NAME_PROPERTY |
4 | 16 | [[#97b8d300]] | EXPRESSION_PROPERTY |
4 | 17 | [[#97b8d300]] | THEN_EXPRESSION_PROPERTY |
4 | 18 | [[#97b8d300]] | ELSE_EXPRESSION_PROPERTY |
4 | 19 | [[#97b8d300]] | LEFT_HAND_SIDE_PROPERTY |
4 | 20 | [[#97b8d300]] | RIGHT_HAND_SIDE_PROPERTY |
4 | 21 | [[#97b8d300]] | ARRAY_PROPERTY |
4 | 22 | [[#97b8d300]] | INDEX_PROPERTY |
4 | 23 | [[#97b8d300]] | NAME_PROPERTY |
4 | 24 | [[#97b8d300]] | NAME_PROPERTY |
4 | 25 | [[#97b8d300]] | EXPRESSION_PROPERTY |
4 | 26 | [[#97b8d300]] | EXPRESSION_PROPERTY |
4 | 27 | [[#97b8d300]] | EXPRESSION_PROPERTY |
4 | 28 | [[#97b8d300]] | EXPRESSION_PROPERTY |
4 | 29 | [[#97b8d300]] | EXPRESSION_PROPERTY |
4 | 30 | [[#97b8d300]] | NAME_PROPERTY |
4 | 31 | [[#97b8d300]] | EXPRESSION_PROPERTY |
4 | 32 | [[#97b8d300]] | OPERAND_PROPERTY |
4 | 33 | [[#97b8d300]] | VALUE_PROPERTY |
4 | 34 | [[#97b8d300]] | NAME_PROPERTY |
4 | 35 | [[#97b8d300]] | LEFT_OPERAND_PROPERTY |
4 | 36 | [[#97b8d300]] | EXPRESSION_PROPERTY |
4 | 37 | [[#97b8d300]] | NAME_PROPERTY |
4 | 38 | [[#97b8d300]] | EXPRESSION_PROPERTY |
4 | 39 | [[#97b8d300]] | NAME_PROPERTY |
4 | 40 | [[#97b8d300]] | EXPRESSION_PROPERTY |
5 | 1 | [[#97b8c620]] | setExpression |
5 | 2 | [[#97b8c620]] | setName |
5 | 3 | [[#97b8c620]] | setName |
5 | 4 | [[#97b8c620]] | setLeftOperand |
5 | 5 | [[#97b8c620]] | setValue |
5 | 6 | [[#97b8c620]] | setName |
5 | 7 | [[#97b8c620]] | setOperand |
5 | 8 | [[#97b8c620]] | setName |
5 | 9 | [[#97b8c620]] | setName |
5 | 10 | [[#97b8c620]] | setName |
5 | 11 | [[#97b8c620]] | setQualifier |
5 | 12 | [[#97b8c620]] | setName |
5 | 13 | [[#97b8c620]] | setLabel |
5 | 14 | [[#97b8c620]] | setRightOperand |
5 | 15 | [[#97b8c620]] | setName |
5 | 16 | [[#97b8c620]] | setExpression |
5 | 17 | [[#97b8c620]] | setThenExpression |
5 | 18 | [[#97b8c620]] | setElseExpression |
5 | 19 | [[#97b8c620]] | setLeftHandSide |
5 | 20 | [[#97b8c620]] | setRightHandSide |
5 | 21 | [[#97b8c620]] | setArray |
5 | 22 | [[#97b8c620]] | setIndex |
5 | 23 | [[#97b8c620]] | setName |
5 | 24 | [[#97b8c620]] | setName |
5 | 25 | [[#97b8c620]] | setExpression |
5 | 26 | [[#97b8c620]] | setExpression |
5 | 27 | [[#97b8c620]] | setExpression |
5 | 28 | [[#97b8c620]] | setExpression |
5 | 29 | [[#97b8c620]] | setExpression |
5 | 30 | [[#97b8c620]] | setName |
5 | 31 | [[#97b8c620]] | setExpression |
5 | 32 | [[#97b8c620]] | setOperand |
5 | 33 | [[#97b8c620]] | setValue |
5 | 34 | [[#97b8c620]] | setName |
5 | 35 | [[#97b8c620]] | setLeftOperand |
5 | 36 | [[#97b8c620]] | setExpression |
5 | 37 | [[#97b8c620]] | setName |
5 | 38 | [[#97b8c620]] | setExpression |
5 | 39 | [[#97b8c620]] | setName |
5 | 40 | [[#97b8c620]] | setExpression |
6 | 1 | [[#97b8d240]] | expression |
6 | 2 | [[#97b8d240]] | variableName |
6 | 3 | [[#97b8d240]] | name |
6 | 4 | [[#97b8d240]] | expression |
6 | 5 | [[#97b8d240]] | value |
6 | 6 | [[#97b8d240]] | name |
6 | 7 | [[#97b8d240]] | expression |
6 | 8 | [[#97b8d240]] | name |
6 | 9 | [[#97b8d240]] | methodName |
6 | 10 | [[#97b8d240]] | typeName |
6 | 11 | [[#97b8d240]] | qualifier |
6 | 12 | [[#97b8d240]] | name |
6 | 13 | [[#97b8d240]] | label |
6 | 14 | [[#97b8d240]] | expression |
6 | 15 | [[#97b8d240]] | constantName |
6 | 16 | [[#97b8d240]] | expression |
6 | 17 | [[#97b8d240]] | expression |
6 | 18 | [[#97b8d240]] | expression |
6 | 19 | [[#97b8d240]] | expression |
6 | 20 | [[#97b8d240]] | expression |
6 | 21 | [[#97b8d240]] | expression |
6 | 22 | [[#97b8d240]] | expression |
6 | 23 | [[#97b8d240]] | fieldName |
6 | 24 | [[#97b8d240]] | memberName |
6 | 25 | [[#97b8d240]] | expression |
6 | 26 | [[#97b8d240]] | expression |
6 | 27 | [[#97b8d240]] | expression |
6 | 28 | [[#97b8d240]] | expression |
6 | 29 | [[#97b8d240]] | expression |
6 | 30 | [[#97b8d240]] | name |
6 | 31 | [[#97b8d240]] | expression |
6 | 32 | [[#97b8d240]] | expression |
6 | 33 | [[#97b8d240]] | value |
6 | 34 | [[#97b8d240]] | name |
6 | 35 | [[#97b8d240]] | expression |
6 | 36 | [[#97b8d240]] | expression |
6 | 37 | [[#97b8d240]] | name |
6 | 38 | [[#97b8d240]] | expression |
6 | 39 | [[#97b8d240]] | variableName |
6 | 40 | [[#97b8d240]] | expression |