You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
927c2cacfa
The initial solution to gh-11512 was still using a plain `toString` that could potentially break with a JDK upgrade. Turns out that JDK9 actually uses the same type for AnnotatedType and ClassType so the trick of using a visitor doesn't work anymore. Retrospectively, it is quite easy to generate the full type once we have the DeclaredType as we already have some logic to get the qualified, that is raw, type and we have access to the type parameters. This commit still uses a `toString` to generate the representation of the type parameters but this looks much safer than trying to redo what such a simple `toString` should do. Also, the additional metadata that we could get on an ExecutableElement does not apply to them. Closes gh-11512 |
7 years ago | |
---|---|---|
.. | ||
spring-boot-antlib | 7 years ago | |
spring-boot-autoconfigure-processor | 7 years ago | |
spring-boot-configuration-metadata | 7 years ago | |
spring-boot-configuration-processor | 7 years ago | |
spring-boot-gradle-plugin | 7 years ago | |
spring-boot-loader | 7 years ago | |
spring-boot-loader-tools | 7 years ago | |
spring-boot-maven-plugin | 7 years ago | |
spring-boot-test-support | 7 years ago | |
pom.xml | 7 years ago |