public class IntrospectionTypeUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<? extends TypeMirror> |
getSuperTypeGenerics(TypeElement type,
Class superClass,
ProcessingEnvironment processingEnvironment) |
static List<? extends TypeMirror> |
getSuperTypeGenerics(TypeMirror type,
Class superClass,
ProcessingEnvironment processingEnvironment) |
static boolean |
isErasureSubType(TypeElement typeElement,
TypeElement baseType,
ProcessingEnvironment processingEnvironment)
Tests whether
typeElement represents a subtype of baseType. |
static boolean |
isSubType(TypeElement typeElement,
Class<?> baseType,
ProcessingEnvironment processingEnvironment)
Tests whether
typeElement represents a subtype of baseType. |
public static List<? extends TypeMirror> getSuperTypeGenerics(TypeMirror type, Class superClass, ProcessingEnvironment processingEnvironment)
public static List<? extends TypeMirror> getSuperTypeGenerics(TypeElement type, Class superClass, ProcessingEnvironment processingEnvironment)
public static boolean isSubType(TypeElement typeElement, Class<?> baseType, ProcessingEnvironment processingEnvironment)
typeElement represents a subtype of baseType. This is plain old class inheritance, generics
compatibility is not considered.typeElement - the potential subtypebaseType - the base typeprocessingEnvironment - the current processing environmentpublic static boolean isErasureSubType(TypeElement typeElement, TypeElement baseType, ProcessingEnvironment processingEnvironment)
typeElement represents a subtype of baseType. This is plain old class inheritance, generics
compatibility is not considered.typeElement - the potential subtypebaseType - the base typeprocessingEnvironment - the current processing environmentCopyright © 2023 MuleSoft, Inc.. All rights reserved.