Example usage for org.eclipse.jdt.core.dom SuperMethodReference setName

List of usage examples for org.eclipse.jdt.core.dom SuperMethodReference setName

Introduction

In this page you can find the example usage for org.eclipse.jdt.core.dom SuperMethodReference setName.

Prototype

public void setName(SimpleName name) 

Source Link

Document

Sets the name of the method referenced in this expression to the given name.

Usage

From source file:org.whole.lang.java.util.JDTTransformerVisitor.java

License:Open Source License

@Override
public boolean visit(SuperMethodReference node) {
    org.whole.lang.java.model.SuperMethodReference superMethodReference = lf.createSuperMethodReference();
    acceptChild((ASTNode) node.getQualifier());
    superMethodReference.setQualifier(name);
    setTypeArguments(superMethodReference.getTypeArguments(), node.typeArguments());
    acceptChild((ASTNode) node.getName());
    superMethodReference.setName((org.whole.lang.java.model.SimpleName) name);
    this.exp = superMethodReference;
    return false;
}