public final class SuffixModifierUtils extends Object
foo[*]
consists of baseName foo
and a modifier suffix [*]
.
Getters can use modifier suffixes to adjust getter behaviour.Modifier and Type | Method and Description |
---|---|
static String |
getModifierSuffix(String fullName,
String baseName)
Get modifier suffix if fullName contains any otherwise returns null.
|
static String |
removeModifierSuffix(String fullName)
Remove modifier suffix from given fullName.
|
public static String removeModifierSuffix(String fullName)
fullName
- public static String getModifierSuffix(String fullName, String baseName)
removeModifierSuffix(String)
fullName
- baseName
- as returned by removeModifierSuffix(String)
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.