gizmo
gizmo copied to clipboard
This is a source of errors, in particular when creating constructors, as one needs to remember to call `returnValue(null)`.
[error]: Build step io.quarkiverse.cxf.deployment.QuarkusCxfProcessor#build threw an exception: java.lang.IllegalArgumentException: Unsupported api 589824 at org.objectweb.asm.ClassVisitor.(ClassVisitor.java:76) at io.quarkus.gizmo.GizmoClassVisitor.(GizmoClassVisitor.java:22) when I use final GizmoClassVisitor cw = new GizmoClassVisitor(Gizmo.ASM_API_VERSION, file, classOutput.getSourceWriter(postFixedName)); java 8 version seems...
I have initialize package info support but I can not enable test with version 8 of java ... and I need feedback before going further.
the need is to support package annotation. In cxf patch, I need to support this generation: https://github.com/apache/cxf/blob/master/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/WrapperClassGenerator.java#L234
This code exhibits the exception: ```java public class GizmoTest { public static class MyEntity { boolean isPersistent; long version; } public static void main(String[] args) { try(ClassCreator modelClass = ClassCreator.builder().className("test")...
The `ClassOutput` interface methods don't declare any exceptions, even though they would frequently be used to write a class to disk. They should declare `IOException` probably. But of course this...
Bumps [io.smallrye:jandex](https://github.com/smallrye/jandex) from 3.2.0 to 3.2.1. Release notes Sourced from io.smallrye:jandex's releases. 3.2.1 #415 release 3.2.1, second attempt #414 Make sure all annotations in the annotation overlay have target #413...
Bumps net.revelc.code.formatter:formatter-maven-plugin from 2.23.0 to 2.24.1. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands...
Bumps net.revelc.code:impsort-maven-plugin from 1.9.0 to 1.11.0. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands...
Bumps [io.smallrye:jandex](https://github.com/smallrye/jandex) from 3.2.0 to 3.2.2. Release notes Sourced from io.smallrye:jandex's releases. 3.2.2 #424 release 3.2.2, second attempt #423 reformat source code #422 release 3.2.2 #421 Rename ClassInfo.canonicalConstructor() to canonicalRecordConstructor()...