Package io.micronaut.core.graal
Interface GraalReflectionConfigurer.ReflectionConfigurationContext
-
- Enclosing interface:
- GraalReflectionConfigurer
public static interface GraalReflectionConfigurer.ReflectionConfigurationContext
Context object for the configuration.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Class<?>
findClassByName(java.lang.String name)
Finds a class by name.void
register(java.lang.Class<?>... types)
Register the given types for reflection.void
register(java.lang.reflect.Constructor<?>... constructors)
Register the given constructors for reflection.void
register(java.lang.reflect.Field... fields)
Register the given fields for reflection.void
register(java.lang.reflect.Method... methods)
Register the given methods for reflection.
-
-
-
Method Detail
-
findClassByName
@Nullable java.lang.Class<?> findClassByName(@NonNull java.lang.String name)
Finds a class by name.- Parameters:
name
- The name- Returns:
- The class or null
-
register
void register(java.lang.Class<?>... types)
Register the given types for reflection.- Parameters:
types
- The types
-
register
void register(java.lang.reflect.Method... methods)
Register the given methods for reflection.- Parameters:
methods
- The methods
-
register
void register(java.lang.reflect.Field... fields)
Register the given fields for reflection.- Parameters:
fields
- The fields
-
register
void register(java.lang.reflect.Constructor<?>... constructors)
Register the given constructors for reflection.- Parameters:
constructors
- The constructors
-
-