public class RepoMethodUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
SEPARATOR_PATTERN |
static String |
SEPARATOR_REGEXP |
| Constructor and Description |
|---|
RepoMethodUtil() |
| Modifier and Type | Method and Description |
|---|---|
String |
firstLetterToLowerCase(String s)
Converts first symbol of a string to lower case
|
String |
firstLetterToUpperCase(String s)
Converts first symbol of a string to upper case
|
String |
generateMethodName(List<RepoMethod.Part> newParts)
Generates repository find method by parts
|
RepoMethod |
parseMethodName(String methodName) |
public static final String SEPARATOR_REGEXP
public static final Pattern SEPARATOR_PATTERN
public RepoMethod parseMethodName(String methodName)
public String generateMethodName(List<RepoMethod.Part> newParts)
newParts - part of method to be generatedpublic String firstLetterToLowerCase(String s)
s - string to be convertedCopyright © 2020. All Rights Reserved.