Class TypeUtils
java.lang.Object
com.blazebit.persistence.view.processor.TypeUtils
- Since:
- 1.5.0
- Author:
- Christian Beikov
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TypeMirrorasMemberOf(Context context, DeclaredType containing, Element element) static booleancontainsAnnotation(Element element, String... annotations) static StringextractClosestRealTypeAsString(TypeMirror type, Context context) static Collection<Element>getAllMembers(TypeElement element, Context context) static AnnotationMirrorgetAnnotationMirror(Element element, String fqcn) static List<AnnotationMirror>getAnnotationMirrors(Element element, String... annotations) static <T> TgetAnnotationValue(AnnotationMirror mirror, String name) static StringgetDefaultValue(TypeKind kind) static StringgetDerivedTypeName(TypeElement element) static StringgetPackageName(Context context, Element element) static StringgetRealType(Element element, Context context) static StringgetSimpleTypeName(TypeElement element) static Stringstatic StringtoTypeString(DeclaredType declaredType, TypeMirror typeMirror, Context context) static String
-
Method Details
-
toWrapperTypeString
-
extractClosestRealTypeAsString
-
toTypeString
public static String toTypeString(DeclaredType declaredType, TypeMirror typeMirror, Context context) -
asMemberOf
-
containsAnnotation
-
getAnnotationMirrors
-
getAnnotationMirror
-
getDefaultValue
-
getSimpleTypeName
-
getDerivedTypeName
-
getAllMembers
-
getAnnotationValue
-
getType
-
getRealType
-
getPackageName
-