[Bug]: JavaReflectionTreeBuilder
doesn't build annotations on the return type
#5424
Labels
JavaReflectionTreeBuilder
doesn't build annotations on the return type
#5424
Describe the bug
JavaReflectionTreeBuilder
builds usual annotations but not annotations applied to a return type.I found this while working on #5320 .
JavaReflectionTreeBuilderTest
fails after the@Nullable
annotation is applied to the classes under some specific packages. (likespoon.reflect.code
,spoon.reflect.declaration
)Source code you are trying to analyze/transform
Source code for your Spoon processing
Actual output
Expected output
Spoon Version
10.4.2
JVM Version
penjdk 17.0.7 2023-04-18 OpenJDK Runtime Environment Homebrew (build 17.0.7+0) OpenJDK 64-Bit Server VM Homebrew (build 17.0.7+0, mixed mode, sharing)
What operating system are you using?
macOS Ventura 13.2.1
The text was updated successfully, but these errors were encountered: