Example usage for org.eclipse.jdt.core.dom WhileStatement delete

List of usage examples for org.eclipse.jdt.core.dom WhileStatement delete

Introduction

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

Prototype

public final void delete() 

Source Link

Document

Removes this node from its parent.

Usage

From source file:ch.acanda.eclipse.pmd.java.resolution.emptycode.EmptyWhileStmtQuickFix.java

License:Open Source License

@Override
protected boolean apply(final WhileStatement node) {
    node.delete();
    return true;
}