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 booleanisCollectionType(TypeElement typeElement)static booleanisListType(TypeElement typeElement)static booleanisMapType(TypeElement typeElement)static booleanisNotIgnored(Element el)static booleanisSetType(TypeElement typeElement)static StringmethodParameters(List<? extends VariableElement> parameters)static StringpluralToSingular(String word)static StringsingularToPlural(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)
-
-