Examples of newSuperMethodInvocation()


Examples of org.eclipse.jdt.core.dom.AST.newSuperMethodInvocation()

    protected SuperMethodInvocation createSuperMethodInvocation(ASTRewrite rewrite, MethodDeclaration method) {
        assert rewrite != null;
        assert method != null;

        AST ast = rewrite.getAST();
        SuperMethodInvocation invocation = ast.newSuperMethodInvocation();

        invocation.setName((SimpleName) rewrite.createCopyTarget(method.getName()));

        return invocation;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.