com.puppycrawl.tools.checkstyle
Class WrapOpOption
java.lang.Object
|
+--com.puppycrawl.tools.checkstyle.WrapOpOption
- All Implemented Interfaces:
- java.io.Serializable
- public final class WrapOpOption
- extends java.lang.Object
- implements java.io.Serializable
Represents the options for wrapping on operators.
- Version:
- 1
- Author:
- Oliver Burn
- See Also:
- Serialized Form
Method Summary |
static WrapOpOption |
decode(java.lang.String aStrRep)
Returns the option specified by a string representation. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NL
public static final WrapOpOption NL
- represents operator on a new line
IGNORE
public static final WrapOpOption IGNORE
- represents ignoring the wrapping
decode
public static WrapOpOption decode(java.lang.String aStrRep)
- Returns the option specified by a string representation. If no
option exists then null is returned.
- Parameters:
aStrRep
- the String representation to parse- Returns:
- the
WrapOpOption
value represented by aStrRep, or
null if none exists.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- See Also:
Object