/** * Creates an unparented type method reference node owned by this AST. * By default, the type and method name are unspecified (but legal), * and there are no type arguments. * * @return a new unparented type method reference node * @exception UnsupportedOperationException if this operation is used in a JLS2, JLS3 or JLS4 AST * @since 3.10 */ public TypeMethodReference newTypeMethodReference() { TypeMethodReference result = new TypeMethodReference(this); return result; }
/** * Creates an unparented type method reference node owned by this AST. * By default, the type and method name are unspecified (but legal), * and there are no type arguments. * * @return a new unparented type method reference node * @exception UnsupportedOperationException if this operation is used in a JLS2, JLS3 or JLS4 AST * @since 3.10 */ public TypeMethodReference newTypeMethodReference() { TypeMethodReference result = new TypeMethodReference(this); return result; }
/** * Creates an unparented type method reference node owned by this AST. * By default, the type and method name are unspecified (but legal), * and there are no type arguments. * * @return a new unparented type method reference node * @exception UnsupportedOperationException if this operation is used in a JLS2, JLS3 or JLS4 AST * @since 3.10 */ public TypeMethodReference newTypeMethodReference() { TypeMethodReference result = new TypeMethodReference(this); return result; }
/** * Creates an unparented type method reference node owned by this AST. * By default, the type and method name are unspecified (but legal), * and there are no type arguments. * * @return a new unparented type method reference node * @exception UnsupportedOperationException if this operation is used in a JLS2, JLS3 or JLS4 AST * @since 3.10 */ public TypeMethodReference newTypeMethodReference() { TypeMethodReference result = new TypeMethodReference(this); return result; }
/** * Creates an unparented type method reference node owned by this AST. * By default, the type and method name are unspecified (but legal), * and there are no type arguments. * * @return a new unparented type method reference node * @exception UnsupportedOperationException if this operation is used in a JLS2, JLS3 or JLS4 AST * @since 3.10 */ public TypeMethodReference newTypeMethodReference() { TypeMethodReference result = new TypeMethodReference(this); return result; }
ASTNode clone0(AST target) { TypeMethodReference result = new TypeMethodReference(target); result.setSourceRange(getStartPosition(), getLength()); result.setType((Type) ASTNode.copySubtree(target, getType())); result.typeArguments().addAll(ASTNode.copySubtrees(target, typeArguments())); result.setName((SimpleName) getName().clone(target)); return result; }
ASTNode clone0(AST target) { TypeMethodReference result = new TypeMethodReference(target); result.setSourceRange(getStartPosition(), getLength()); result.setType((Type) ASTNode.copySubtree(target, getType())); result.typeArguments().addAll(ASTNode.copySubtrees(target, typeArguments())); result.setName((SimpleName) getName().clone(target)); return result; }
@Override ASTNode clone0(AST target) { TypeMethodReference result = new TypeMethodReference(target); result.setSourceRange(getStartPosition(), getLength()); result.setType((Type) ASTNode.copySubtree(target, getType())); result.typeArguments().addAll(ASTNode.copySubtrees(target, typeArguments())); result.setName((SimpleName) getName().clone(target)); return result; }
ASTNode clone0(AST target) { TypeMethodReference result = new TypeMethodReference(target); result.setSourceRange(getStartPosition(), getLength()); result.setType((Type) ASTNode.copySubtree(target, getType())); result.typeArguments().addAll(ASTNode.copySubtrees(target, typeArguments())); result.setName((SimpleName) getName().clone(target)); return result; }
ASTNode clone0(AST target) { TypeMethodReference result = new TypeMethodReference(target); result.setSourceRange(getStartPosition(), getLength()); result.setType((Type) ASTNode.copySubtree(target, getType())); result.typeArguments().addAll(ASTNode.copySubtrees(target, typeArguments())); result.setName((SimpleName) getName().clone(target)); return result; }
result = creationReference; } else if (lhs instanceof TypeReference) { TypeMethodReference typeMethodReference = new TypeMethodReference(this.ast); typeMethodReference.setType(convertType((TypeReference) lhs)); typeMethodReference.setName(name);
result = creationReference; } else if (lhs instanceof TypeReference) { TypeMethodReference typeMethodReference = new TypeMethodReference(this.ast); typeMethodReference.setType(convertType((TypeReference) lhs)); typeMethodReference.setName(name);
result = creationReference; } else if (lhs instanceof TypeReference) { TypeMethodReference typeMethodReference = new TypeMethodReference(this.ast); typeMethodReference.setType(convertType((TypeReference) lhs)); typeMethodReference.setName(name);
result = creationReference; } else if (lhs instanceof TypeReference) { TypeMethodReference typeMethodReference = new TypeMethodReference(this.ast); typeMethodReference.setType(convertType((TypeReference) lhs)); typeMethodReference.setName(name);
result = creationReference; } else if (lhs instanceof TypeReference) { TypeMethodReference typeMethodReference = new TypeMethodReference(this.ast); typeMethodReference.setType(convertType((TypeReference) lhs)); typeMethodReference.setName(name);