public final class BlockOption extends AbstractOption
EmptyBlockCheck
,
Serialized FormModifier 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, toString
public 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 AbstractOption
Map
from strings to options.