A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/3752 below:

[java] Expose annotations in symbol API · Issue #3752 · pmd/pmd · GitHub

The class files and ASM give us access to annotations. The "hard" part of this feature, is that we need a way to represent annotation values symbolically. This adds significant API surface to the symbol API and it should probably stay @Experimental when PMD 7 is released.

Another complication is that the annotation values are easy to parse with ASM, but for symbols based on the AST, resolving those values requires name resolution. This introduces a dependency cycle between the name resolution and the symbol resolution pass. The cycle can be broken by resolving annotations lazily.

Branch: I think this one. I don't think ast-based annotations are supported yet in this branch.

This issue was split off from #2701


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4