public class Utils extends Object
| Constructor and Description | 
|---|
| Utils() | 
| Modifier and Type | Method and Description | 
|---|---|
| static org.springframework.core.MethodParameter | createMethodParameter(Executable executable,
                     int i)Return a properly initialized MethodParameter for the given executable and index. | 
| static org.springframework.core.MethodParameter | createMethodParameter(Parameter parameter)Convert from JDK  Parameterto SpringMethodParameter. | 
| static Stream<org.springframework.core.MethodParameter> | createMethodParameters(Executable executable)Return MethodParameters for each parameter of the given method/constructor. | 
| static javax.validation.Validator | defaultValidator()Gets a default shared validator. | 
| static javax.validation.ValidatorFactory | defaultValidatorFactory()Gets a default shared validation factory. | 
| static List<String> | sanitizeInput(List<String> words)Sanitize the buffer input given the customizations applied to the JLine
 parser (e.g. support for
 line continuations, etc.) | 
| static <T> List<List<T>> | split(T[] array,
     Predicate<T> predicate)Split array into list of lists by predicate | 
| static String | unCamelify(CharSequence original)Turn CamelCaseText into gnu-style-lowercase. | 
public static String unCamelify(CharSequence original)
public static org.springframework.core.MethodParameter createMethodParameter(Parameter parameter)
Parameter to Spring MethodParameter.public static org.springframework.core.MethodParameter createMethodParameter(Executable executable, int i)
public static Stream<org.springframework.core.MethodParameter> createMethodParameters(Executable executable)
public static List<String> sanitizeInput(List<String> words)
public static javax.validation.ValidatorFactory defaultValidatorFactory()
public static javax.validation.Validator defaultValidator()
Copyright © 2022. All rights reserved.