smallrye / jandex

Java Annotation Indexer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Determine if a method/field is synthetic

gsmet opened this issue · comments

I didn't find an easy way to determine if a field/method is synthetic.

The answer could have been "use Modifier.isSynthetic()" but unfortunately this method is package private.

I wonder if we should provide something in Jandex similar to what we have on reflection Field/Method?