GenerationContext,
and register the necessary hints so that they can be instantiated.
ReflectUtils#setGeneratedClassHandler, ReflectUtils#setLoadedClassHandler, ClassHintUtils#registerProxyIfNecessary
| Modifier and Type | Field and Description |
|---|---|
| private final GeneratedFiles | |
| private static final Consumer | |
| private final RuntimeHints |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | handleGeneratedClass(String
the name of the generated class cglibClassName, byte[] the bytecode of the generated class content)Handle the specified generated CGLIB class. |
| public void | handleLoadedClass(Class<?>
a cglib class that has been loaded cglibClass)Handle the specified loaded CGLIB class. |
| private void |
| generatedFiles | back to summary |
|---|---|
| private final GeneratedFiles generatedFiles | |
| instantiateCglibProxy | back to summary |
|---|---|
| private static final Consumer<TypeHint. | |
| runtimeHints | back to summary |
|---|---|
| private final RuntimeHints runtimeHints | |
| CglibClassHandler | back to summary |
|---|---|
| pack-priv CglibClassHandler(GenerationContext generationContext) | |
| handleGeneratedClass | back to summary |
|---|---|
| public void handleGeneratedClass(String cglibClassName, byte[] content) Handle the specified generated CGLIB class.
| |
| handleLoadedClass | back to summary |
|---|---|
| public void handleLoadedClass(Class<?> cglibClass) Handle the specified loaded CGLIB class.
| |
| registerHints | back to summary |
|---|---|
| private void registerHints(TypeReference cglibTypeReference) | |