public class MethodParamModelUtils extends Object
MethodParamModel
s.Constructor and Description |
---|
MethodParamModelUtils() |
Modifier and Type | Method and Description |
---|---|
static Annotation |
getAnnotation(MethodParamModel methodParamModel,
Class<? extends Annotation> annotationClass) |
static List<com.squareup.javapoet.TypeVariableName> |
getTypeVariables(MethodParamModel methodParam) |
static List<com.squareup.javapoet.TypeVariableName> |
getTypeVariables(com.squareup.javapoet.TypeName typeName) |
static boolean |
isAnnotatedWith(MethodParamModel methodParamModel,
Class<? extends Annotation> annotationClass) |
static boolean |
isAnnotatedWithExternalAnnotation(MethodParamModel methodParamModel,
com.squareup.javapoet.TypeName annotationType) |
static boolean |
isDiffType(MethodParamModel methodParam) |
public static boolean isAnnotatedWith(MethodParamModel methodParamModel, Class<? extends Annotation> annotationClass)
public static boolean isAnnotatedWithExternalAnnotation(MethodParamModel methodParamModel, com.squareup.javapoet.TypeName annotationType)
public static boolean isDiffType(MethodParamModel methodParam)
@Nullable public static Annotation getAnnotation(MethodParamModel methodParamModel, Class<? extends Annotation> annotationClass)
public static List<com.squareup.javapoet.TypeVariableName> getTypeVariables(MethodParamModel methodParam)
public static List<com.squareup.javapoet.TypeVariableName> getTypeVariables(com.squareup.javapoet.TypeName typeName)