com.puppycrawl.tools.checkstyle.checks.blocks
public final class BlockOption extends AbstractOption
See Also: EmptyBlockCheck
Field Summary | |
---|---|
static BlockOption | STMT
Represents the policy that there is a statement in the block. |
static BlockOption | TEXT
Represents the policy that there is some text in the block. |
Method Summary | |
---|---|
protected Map | getStrToOpt() {@inheritDoc} |
finally { lock.release(); }
catch (Exception ex) { // This is a bad coding practice }