Package io.quarkus.deployment.util
Class ReflectUtil
java.lang.Object
io.quarkus.deployment.util.ReflectUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisBuildProducerOf(Type type, Class<?> nestedType) static booleanisConsumerOf(Type type, Class<?> nestedType) static booleanstatic booleanisOptionalOf(Type type, Class<?> nestedType) static booleanisSupplierOf(Type type, Class<?> nestedType) static booleanisSupplierOfOptionalOf(Type type, Class<?> nestedType) static booleanstatic <T> TnewInstance(Class<T> clazz) static booleanrawTypeExtends(Type type, Class<?> clazz) static booleanstatic Class<?>static Class<?>rawTypeOfParameter(Type type, int paramIdx) static Class<?>[]rawTypesOfDestructive(Type[] types) static IllegalArgumentExceptionreportError(AnnotatedElement e, String fmt, Object... args) static voidsetFieldVal(Field field, Object obj, Object value) static IllegalAccessErrorstatic InstantiationErrorstatic NoSuchFieldErrorstatic NoSuchMethodErrorstatic TypetypeOfParameter(Type type, int paramIdx) static UndeclaredThrowableException
-
Method Details
-
rawTypeIs
-
rawTypeExtends
-
isListOf
-
isConsumerOf
-
isBuildProducerOf
-
isSupplierOf
-
isSupplierOfOptionalOf
-
isOptionalOf
-
isThingOf
-
rawTypeOf
-
rawTypesOfDestructive
-
typeOfParameter
-
rawTypeOfParameter
-
setFieldVal
-
newInstance
-
toError
-
toError
-
toError
-
toError
-
unwrapInvocationTargetException
public static UndeclaredThrowableException unwrapInvocationTargetException(InvocationTargetException original) -
reportError
-