/** * Creates and returns a new unparented super method reference node owned by * this AST. By default, the name of the method is unspecified (but legal), * and there is no qualifier and no type arguments. * * @return a new unparented super method reference node * @since 3.10 */ public SuperMethodReference newSuperMethodReference() { SuperMethodReference result = new SuperMethodReference(this); return result; }
/** * Creates and returns a new unparented super method reference node owned by * this AST. By default, the name of the method is unspecified (but legal), * and there is no qualifier and no type arguments. * * @return a new unparented super method reference node * @since 3.10 */ public SuperMethodReference newSuperMethodReference() { SuperMethodReference result = new SuperMethodReference(this); return result; }
/** * Creates and returns a new unparented super method reference node owned by * this AST. By default, the name of the method is unspecified (but legal), * and there is no qualifier and no type arguments. * * @return a new unparented super method reference node * @since 3.10 */ public SuperMethodReference newSuperMethodReference() { SuperMethodReference result = new SuperMethodReference(this); return result; }
/** * Creates and returns a new unparented super method reference node owned by * this AST. By default, the name of the method is unspecified (but legal), * and there is no qualifier and no type arguments. * * @return a new unparented super method reference node * @since 3.10 */ public SuperMethodReference newSuperMethodReference() { SuperMethodReference result = new SuperMethodReference(this); return result; }
/** * Creates and returns a new unparented super method reference node owned by * this AST. By default, the name of the method is unspecified (but legal), * and there is no qualifier and no type arguments. * * @return a new unparented super method reference node * @since 3.10 */ public SuperMethodReference newSuperMethodReference() { SuperMethodReference result = new SuperMethodReference(this); return result; }
ASTNode clone0(AST target) { SuperMethodReference result = new SuperMethodReference(target); result.setSourceRange(getStartPosition(), getLength()); result.setName((SimpleName) getName().clone(target)); result.setQualifier((Name) ASTNode.copySubtree(target, getQualifier())); result.typeArguments().addAll(ASTNode.copySubtrees(target, typeArguments())); return result; }
ASTNode clone0(AST target) { SuperMethodReference result = new SuperMethodReference(target); result.setSourceRange(getStartPosition(), getLength()); result.setName((SimpleName) getName().clone(target)); result.setQualifier((Name) ASTNode.copySubtree(target, getQualifier())); result.typeArguments().addAll(ASTNode.copySubtrees(target, typeArguments())); return result; }
ASTNode clone0(AST target) { SuperMethodReference result = new SuperMethodReference(target); result.setSourceRange(getStartPosition(), getLength()); result.setName((SimpleName) getName().clone(target)); result.setQualifier((Name) ASTNode.copySubtree(target, getQualifier())); result.typeArguments().addAll(ASTNode.copySubtrees(target, typeArguments())); return result; }
@Override ASTNode clone0(AST target) { SuperMethodReference result = new SuperMethodReference(target); result.setSourceRange(getStartPosition(), getLength()); result.setName((SimpleName) getName().clone(target)); result.setQualifier((Name) ASTNode.copySubtree(target, getQualifier())); result.typeArguments().addAll(ASTNode.copySubtrees(target, typeArguments())); return result; }
ASTNode clone0(AST target) { SuperMethodReference result = new SuperMethodReference(target); result.setSourceRange(getStartPosition(), getLength()); result.setName((SimpleName) getName().clone(target)); result.setQualifier((Name) ASTNode.copySubtree(target, getQualifier())); result.typeArguments().addAll(ASTNode.copySubtrees(target, typeArguments())); return result; }
result = typeMethodReference; } else if (lhs instanceof SuperReference) { SuperMethodReference superMethodReference = new SuperMethodReference(this.ast); superMethodReference.setName(name); typeArguments = superMethodReference.typeArguments(); result = superMethodReference; } else if (lhs instanceof QualifiedSuperReference) { SuperMethodReference superMethodReference = new SuperMethodReference(this.ast); superMethodReference.setQualifier(convert((QualifiedSuperReference)lhs)); superMethodReference.setName(name);
result = typeMethodReference; } else if (lhs instanceof SuperReference) { SuperMethodReference superMethodReference = new SuperMethodReference(this.ast); superMethodReference.setName(name); typeArguments = superMethodReference.typeArguments(); result = superMethodReference; } else if (lhs instanceof QualifiedSuperReference) { SuperMethodReference superMethodReference = new SuperMethodReference(this.ast); superMethodReference.setQualifier(convert((QualifiedSuperReference)lhs)); superMethodReference.setName(name);
result = typeMethodReference; } else if (lhs instanceof SuperReference) { SuperMethodReference superMethodReference = new SuperMethodReference(this.ast); superMethodReference.setName(name); typeArguments = superMethodReference.typeArguments(); result = superMethodReference; } else if (lhs instanceof QualifiedSuperReference) { SuperMethodReference superMethodReference = new SuperMethodReference(this.ast); superMethodReference.setQualifier(convert((QualifiedSuperReference)lhs)); superMethodReference.setName(name);
result = typeMethodReference; } else if (lhs instanceof SuperReference) { SuperMethodReference superMethodReference = new SuperMethodReference(this.ast); superMethodReference.setName(name); typeArguments = superMethodReference.typeArguments(); result = superMethodReference; } else if (lhs instanceof QualifiedSuperReference) { SuperMethodReference superMethodReference = new SuperMethodReference(this.ast); superMethodReference.setQualifier(convert((QualifiedSuperReference)lhs)); superMethodReference.setName(name);
result = typeMethodReference; } else if (lhs instanceof SuperReference) { SuperMethodReference superMethodReference = new SuperMethodReference(this.ast); superMethodReference.setName(name); typeArguments = superMethodReference.typeArguments(); result = superMethodReference; } else if (lhs instanceof QualifiedSuperReference) { SuperMethodReference superMethodReference = new SuperMethodReference(this.ast); superMethodReference.setQualifier(convert((QualifiedSuperReference)lhs)); superMethodReference.setName(name);