remkop / picocli

Picocli is a modern framework for building powerful, user-friendly, GraalVM-enabled command line apps with ease. It supports colors, autocompletion, subcommands, and more. In 1 source file so apps can include as source & avoid adding a dependency. Written in Java, usable from Groovy, Kotlin, Scala, etc.
https://picocli.info
Apache License 2.0
4.94k stars 424 forks source link

IAnnotatedElementProvider to Access to ArgSpec/OptionSpec setter/getter field/method #2328

Open pvlasov opened 4 months ago

pvlasov commented 4 months ago

This pull request introduces IAnnotatedElementProvider interface implemented by FieldBinding and MethodBinding. This allows to access underlying fields/methods of parameters and options.

See also issue #2325.