Skip to content

jbock 5.8

Compare
Choose a tag to compare
@h908714124 h908714124 released this 05 Aug 14:58
· 395 commits to master since this release

In order to avoid certain staleness problems with gradle's "isolating" annotation processing model, some features had to be removed.

  • Remove the Converter annotation.
  • The converter attribute must now point to a static member class of the command class (see note).
  • Forbid inheritance of abstract methods.

Note: Effectively, it is still possible to define a "standalone" converter class, by writing a small static inner class which implements Supplier<StringConverter<X>> and returns an instance of the "real" converter class from its get method. For example, see how BigIntegerConverter is used in CustomConverterCommand.