Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd picocli annotation processor #500
Comments
|
Work in progress is to add an abstract annotation processor to the |
* add separate module picocli-annotation-processing-tests for testing (com.google.testing.compile:compile-testing requires Java 8) * (API) add ITypeInfo that encapsulated type information available at both runtime and compile time * add RuntimeTypeInfo implementation used at runtime (reflection) * (API) add IAnnotatedElement as public API for method and fields annotated with any picocli annotation * internal class TypedMember now implements IAnnotatedElement * (API) CommandSpec.resourceBundleBaseName() getter and setter * (API) Messages.resourceBundleBaseName() getter * (API) ArgSpec.userObject() getter * (API) made MethodParam public * IGetter/ISetter implementations now have informative toString() methods * removed internal class ArgsReflection
* fix test for improved validation * load ResourceBundle if possible * add fatalError and warn protected methods for processor subclasses
|
TODO:
|
* fixed resource bundle related bugs in CommandLine (bundle may be null while bundleBaseName is not null in annotation processors) * all annotation processors now support a `relative.path` option (replaces the `groupId` and `artifactId` options) * DynamicProxyConfigGeneratorProcessor now supports a `interfaceClasses` option for additional interface names * ResourceConfigGeneratorProcessor now supports a `bundles` option for additional resource bundles and a `resourceRegex` option for additional other resources * added tests

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

Annotation processor to build a
CommandSpecmodel from the picocli annotations in the source code at compile time.This would make it possible to build tools for picocli-based applications that do more interesting work during the build: