public final class BlockOption extends AbstractOption
EmptyBlockCheck,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map |
getStrToOpt()
Returns the map from string representations to options.
|
decode, readResolve, toStringpublic static final BlockOption TEXT
catch (Exception ex) {
// This is a bad coding practice
}
public static final BlockOption STMT
finally {
lock.release();
}
protected Map getStrToOpt()
getStrToOpt in class AbstractOptionMap from strings to options.