-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use sourcegen bytecode generator to generate internal metadata #11407
Conversation
inject/src/main/java/io/micronaut/inject/beans/AbstractInitializableBeanIntrospection.java
Outdated
Show resolved
Hide resolved
core-processor/src/main/java/io/micronaut/inject/annotation/AnnotationMetadataWriter.java
Outdated
Show resolved
Hide resolved
core-processor/src/main/java/io/micronaut/inject/annotation/AnnotationMetadataWriter.java
Outdated
Show resolved
Hide resolved
core-processor/src/main/java/io/micronaut/aop/writer/AopProxyWriter.java
Show resolved
Hide resolved
core-processor/src/main/java/io/micronaut/aop/writer/AopProxyWriter.java
Outdated
Show resolved
Hide resolved
core-processor/src/main/java/io/micronaut/aop/writer/AopProxyWriter.java
Outdated
Show resolved
Hide resolved
core-processor/src/main/java/io/micronaut/aop/writer/AopProxyWriter.java
Show resolved
Hide resolved
core-processor/src/main/java/io/micronaut/inject/writer/BeanDefinitionWriter.java
Outdated
Show resolved
Hide resolved
core-processor/src/main/java/io/micronaut/inject/writer/BeanDefinitionWriter.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to make sure that we retain that the generated byte code is synthetic
core-processor/src/main/java/io/micronaut/aop/writer/AopProxyWriter.java
Show resolved
Hide resolved
core-processor/src/main/java/io/micronaut/aop/writer/AopProxyWriter.java
Show resolved
Hide resolved
core-processor/src/main/java/io/micronaut/aop/writer/AopProxyWriter.java
Outdated
Show resolved
Hide resolved
core-processor/src/main/java/io/micronaut/inject/annotation/AnnotationMetadataGenUtils.java
Outdated
Show resolved
Hide resolved
core-processor/src/main/java/io/micronaut/inject/writer/ExpressionsUtils.java
Outdated
Show resolved
Hide resolved
core-processor/src/main/java/io/micronaut/inject/writer/MethodGenUtils.java
Show resolved
Hide resolved
|
The PR rewrites all the class writers (except the evaluated expressions writer) to use a new bytecode generator from Micronaut Sourcegen.
I haven't done any major refactoring. Some classes like
BeanDefnitionWriter
is too big and need some refactoring