Package io.quarkus.arc.impl
Class Reflections
java.lang.Object
io.quarkus.arc.impl.Reflections
Neither the class nor its methods are considered a public API and should only be used internally.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Constructor<?>
findConstructor
(Class<?> clazz, Class<?>... parameterTypes) static Field
static Method
findMethod
(Class<?> clazz, String methodName, Class<?>... parameterTypes) static <T> Class<T>
getRawType
(Type type) static Object
static Object
newInstance
(Class<?> clazz, Class<?>[] parameterTypes, Object[] args) static Object
static void
writeField
(Class<?> clazz, String name, Object instance, Object value)
-
Method Details
-
findField
- Parameters:
clazz
-fieldName
-- Returns:
- the field declared in the class hierarchy
-
findMethod
- Parameters:
clazz
-methodName
-parameterTypes
-- Returns:
- the method declared in the class hierarchy
-
findConstructor
-
newInstance
-
readField
-
writeField
-
invokeMethod
-
getRawType
-