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 Fieldstatic MethodfindMethod(Class<?> clazz, String methodName, Class<?>... parameterTypes) static <T> Class<T>getRawType(Type type) static Objectstatic ObjectnewInstance(Class<?> clazz, Class<?>[] parameterTypes, Object[] args) static Objectstatic voidwriteField(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
-