public class TypeUtils extends Object
| Constructor and Description |
|---|
TypeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static List<Element> |
getAnnotationAnnotatedWith(AnnotatedConstruct c,
Class<? extends Annotation> annotationType) |
static String |
getAnnotationValue(AnnotationMirror a) |
static boolean |
hasAnnotation(AnnotationMirror annotationMirror,
Class<? extends Annotation> annotationType) |
static boolean |
hasAnnotationAnnotatedWith(AnnotatedConstruct c,
Class<? extends Annotation> annotationType) |
static boolean |
includeInName(Element annotationElement) |
static boolean |
isVoid(ExecutableElement method) |
static Stream<ExecutableElement> |
methods(Element factory) |
static boolean |
notVoid(ExecutableElement method) |
static Map<String,TypeMirror> |
resolveParameters(ExecutableElement genericMethod,
TypeMirror returnType) |
static String |
typeName(TypeMirror typeMirror) |
public static String typeName(TypeMirror typeMirror)
public static String getAnnotationValue(AnnotationMirror a)
public static boolean hasAnnotation(AnnotationMirror annotationMirror, Class<? extends Annotation> annotationType)
public static boolean hasAnnotationAnnotatedWith(AnnotatedConstruct c, Class<? extends Annotation> annotationType)
public static boolean includeInName(Element annotationElement)
public static List<Element> getAnnotationAnnotatedWith(AnnotatedConstruct c, Class<? extends Annotation> annotationType)
public static Stream<ExecutableElement> methods(Element factory)
public static Map<String,TypeMirror> resolveParameters(ExecutableElement genericMethod, TypeMirror returnType)
public static boolean isVoid(ExecutableElement method)
public static boolean notVoid(ExecutableElement method)
Copyright © 2020. All rights reserved.