- Enclosing class:
Serialize
public static class Serialize.Util
extends Object
-
Method Summary
Accepting the supplied
CodeStyle
, this converts the raw parameter name to the supplied
CodeStyle
.
Finds the raw name of the supplied
Parameter
.
Accepting the supplied
CodeStyle
, this converts the raw parameter name to the supplied
CodeStyle
.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
findRawName
Finds the raw name of the supplied
Parameter
. This is before applying any changes to the \
CodeStyle
.
- Parameters:
parameter
- the parameter
- Returns:
- an
Optional<String>
of the raw name
-
findName
Accepting the supplied
CodeStyle
, this converts the raw parameter name to the supplied
CodeStyle
.
- Parameters:
parameter
- the parameter
codeStyle
- the CodeStyle
- Returns:
- an
Optional<String>
of the name
-
getName
Accepting the supplied
CodeStyle
, this converts the raw parameter name to the supplied
CodeStyle
.
- Parameters:
parameter
- the parameter
codeStyle
- the CodeStyle
- Returns:
- an
Optional<String>
of the name