Interface GraalReflectionConfigurer.ReflectionConfigurationContext
- Enclosing interface:
GraalReflectionConfigurer
public static interface GraalReflectionConfigurer.ReflectionConfigurationContext
Context object for the configuration.
- Since:
- 3.5.0
- Author:
- graemerocher
-
Method Summary
Modifier and TypeMethodDescription@Nullable Class<?> findClassByName(String name) Finds a class by name.voidRegister the given types for reflection.voidregister(Constructor<?>... constructors) Register the given constructors for reflection.voidRegister the given fields for reflection.voidRegister the given methods for reflection.voidregisterDynamicProxy(Class<?>... interfaces) Register a dynamic proxy of the given interfaces.
-
Method Details
-
findClassByName
-
register
Register the given types for reflection.- Parameters:
types- The types
-
register
Register the given methods for reflection.- Parameters:
methods- The methods
-
register
Register the given fields for reflection.- Parameters:
fields- The fields
-
register
Register the given constructors for reflection.- Parameters:
constructors- The constructors
-
registerDynamicProxy
Register a dynamic proxy of the given interfaces.The interfaces are the complete interface list of a single proxy, in the order they are passed to
Proxy.newProxyInstance(ClassLoader, Class[], java.lang.reflect.InvocationHandler). RegisteringAand registeringA, Bare two distinct proxies.- Parameters:
interfaces- The interfaces implemented by the proxy
-