Example usage for org.eclipse.jdt.core.dom SuperConstructorInvocation toString

List of usage examples for org.eclipse.jdt.core.dom SuperConstructorInvocation toString

Introduction

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

Prototype

@Override
public final String toString() 

Source Link

Document

Returns a string representation of this node suitable for debugging purposes only.

Usage

From source file:chibi.gumtreediff.gen.jdt.cd.CdJdtVisitor.java

License:Open Source License

@Override
public boolean visit(SuperConstructorInvocation node) {
    pushNode(node, node.toString());
    return false;
}

From source file:egovframework.mgt.fit.library.parser.visitor.StatementParsingVisitor.java

License:Apache License

/**
 * ? ? ? ?  ? .//from w  w  w .  j  av a 2  s  .  c om
 * @return   
 */
@Override
public boolean visit(SuperConstructorInvocation node) {
    if (node.getParent().getNodeType() == parentType) {
        addSingleStatement(node.toString(), StatementLine.SUPERCONSTRUCTOR);
    }
    return super.visit(node);
}

From source file:java5totext.input.binding.JDTDelegateBindingFactory.java

License:Open Source License

public Binding getBindingForSuperConstructorInvocation(SuperConstructorInvocation constructorCall) {
    Binding result = null;//from ww  w. j  a  v a2 s . c o m
    IMethodBinding binding = constructorCall.resolveConstructorBinding();
    if (binding == null) {
        System.out.println("*** WARNING : binding '" + constructorCall.toString() + "' unresolved.");
        result = new UnresolvedBinding(constructorCall.toString());
    } else {
        result = this.getMethodBinding(binding);
    }
    return result;
}

From source file:org.eclipse.modisco.java.discoverer.internal.io.java.binding.JDTDelegateBindingFactory.java

License:Open Source License

public Binding getBindingForSuperConstructorInvocation(final SuperConstructorInvocation constructorCall) {
    Binding result = null;//  w w w  .  j a v a2s.co m
    IMethodBinding binding = constructorCall.resolveConstructorBinding();
    if (binding == null || binding.getDeclaringClass() == null) {
        // managing misc binding.getName() NPE
        if (this.logJDTBindingsIssues) {
            MoDiscoLogger.logWarning("*** WARNING : binding '" //$NON-NLS-1$
                    + constructorCall.toString() + "' unresolved.", //$NON-NLS-1$
                    JavaActivator.getDefault());
        }
        result = new UnresolvedBinding(constructorCall.toString());
    } else {
        result = getMethodBinding(binding);
    }
    return result;
}

From source file:org.evolizer.changedistiller.jdt.JavaASTBodyTransformer.java

License:Apache License

/**
 * {@inheritDoc}/*from w ww .j  a  v  a  2s .  c o m*/
 */
@Override
public boolean visit(SuperConstructorInvocation node) {
    pushValuedNode(node, node.toString());
    return false;
}

From source file:simpack.util.tree.visitor.ast.JavaASTStructureTransformer.java

License:LGPL

public boolean visit(SuperConstructorInvocation node) {
    pushValuedNode(node, node.toString());
    return false;
}