public class MethodParamModelUtils
extends java.lang.Object
MethodParamModel
s.Constructor and Description |
---|
MethodParamModelUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.annotation.Annotation |
getAnnotation(MethodParamModel methodParamModel,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass) |
static java.util.List<TypeVariableName> |
getTypeVariables(MethodParamModel methodParam) |
static java.util.List<TypeVariableName> |
getTypeVariables(TypeName typeName) |
static boolean |
isAnnotatedWith(MethodParamModel methodParamModel,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass) |
static boolean |
isAnnotatedWithExternalAnnotation(MethodParamModel methodParamModel,
TypeName annotationType) |
static boolean |
isComponentContextParam(MethodParamModel methodParamModel) |
static boolean |
isLazyStateParam(MethodParamModel methodParamModel) |
static java.util.Comparator<MethodParamModel> |
shallowParamComparator()
Compares two
MethodParamModel s based on name and annotations only. |
public static boolean isAnnotatedWith(MethodParamModel methodParamModel, java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
public static boolean isAnnotatedWithExternalAnnotation(MethodParamModel methodParamModel, TypeName annotationType)
public static java.lang.annotation.Annotation getAnnotation(MethodParamModel methodParamModel, java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
public static boolean isLazyStateParam(MethodParamModel methodParamModel)
public static boolean isComponentContextParam(MethodParamModel methodParamModel)
public static java.util.List<TypeVariableName> getTypeVariables(MethodParamModel methodParam)
public static java.util.List<TypeVariableName> getTypeVariables(TypeName typeName)
public static java.util.Comparator<MethodParamModel> shallowParamComparator()
MethodParamModel
s based on name and annotations only.