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

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

Introduction

In this page you can find the example usage for org.eclipse.jdt.core.dom SwitchCase 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:egovframework.mgt.fit.library.parser.visitor.StatementParsingVisitor.java

License:Apache License

/**
 * switch case ? ?  ? .//from   ww  w.  j  a v  a 2  s . c om
 * @return   
 */
@Override
public boolean visit(SwitchCase node) {
    if (node.getParent().getNodeType() == parentType) {
        addSingleStatement(node.toString(), StatementLine.CASE);
    }
    return super.visit(node);
}