Class Util
- java.lang.Object
-
- org.keycloak.models.map.processor.Util
-
public class Util extends Object
- Author:
- hmlnarik
-
-
Constructor Summary
Constructors Constructor Description Util()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static Optional<ExecutableElement>
findParentMethodImplementation(List<? extends Element> allParentMembers, ExecutableElement method)
static List<TypeMirror>
getGenericsDeclaration(TypeMirror fieldType)
static boolean
isCollectionType(TypeElement typeElement)
static boolean
isListType(TypeElement typeElement)
static boolean
isMapType(TypeElement typeElement)
static boolean
isNotIgnored(Element el)
static boolean
isSetType(TypeElement typeElement)
static String
methodParameters(List<? extends VariableElement> parameters)
static String
pluralToSingular(String word)
static String
singularToPlural(String word)
-
-
-
Method Detail
-
getGenericsDeclaration
public static List<TypeMirror> getGenericsDeclaration(TypeMirror fieldType)
-
methodParameters
public static String methodParameters(List<? extends VariableElement> parameters)
-
isCollectionType
public static boolean isCollectionType(TypeElement typeElement)
-
isListType
public static boolean isListType(TypeElement typeElement)
-
isSetType
public static boolean isSetType(TypeElement typeElement)
-
isMapType
public static boolean isMapType(TypeElement typeElement)
-
isNotIgnored
public static boolean isNotIgnored(Element el)
-
findParentMethodImplementation
protected static Optional<ExecutableElement> findParentMethodImplementation(List<? extends Element> allParentMembers, ExecutableElement method)
-
-