Skip to content

JavaCommander-2.0.0

Compare
Choose a tag to compare
@Agadar Agadar released this 19 May 21:09
· 30 commits to master since this release

Changelog

  • A ton of refactoring. Most importantly:
  • Moved example code and utility code from JavaCommander class to separate classes;
  • Moved annotation parsing code from JavaCommander class to a new class: JcRegistry;
  • Introduced new descriptive exceptions for specific errors, which when thrown are always wrapped in a JavaCommanderException for easy catching and filtering;
  • Registering an object to a JavaCommander instance no longer registers its annotated static methods;
  • Added support for registering a class to a JavaCommander instance, which registers its annotated static methods.