BeanRegistrationAotProcessor that adds additional hints
required by Kotlin reflection.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public BeanRegistrationAotContribution | processAheadOfTime(RegisteredBean
the registered bean to process registeredBean)Implements org. Process the given |
| KotlinReflectionBeanRegistrationAotProcessor | back to summary |
|---|---|
| pack-priv KotlinReflectionBeanRegistrationAotProcessor() | |
| processAheadOfTime | back to summary |
|---|---|
| public BeanRegistrationAotContribution processAheadOfTime(RegisteredBean registeredBean) Implements org. Doc from org. Process the given Processors are free to use any techniques they like to analyze the given instance. Most typically use reflection to find fields or methods to use in the contribution. Contributions typically generate source code or resource files that can be used when the AOT optimized application runs.
If the given instance isn't relevant to the processor, it should return a
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | applyTo(GenerationContext
the generation context generationContext, BeanRegistrationCode the generated registration beanRegistrationCode)Implements org. Apply this contribution to the given |
| private void |
| beanClass | back to summary |
|---|---|
| private final Class<?> beanClass | |
| AotContribution | back to summary |
|---|---|
| public AotContribution(Class<?> beanClass) | |
| applyTo | back to summary |
|---|---|
| public void applyTo(GenerationContext generationContext, BeanRegistrationCode beanRegistrationCode) Implements org. Doc from org. Apply this contribution to the given
| |
| registerHints | back to summary |
|---|---|
| private void registerHints(Class<?> type, RuntimeHints runtimeHints) | |