A lean but handy self-documenting and validating configuration system.
How does it work?
- Define a group in a class A together with two variables within that group
public final static GroupDef CONF = GroupDef.create("master").build(); public final static C PARAM1 = CONF.integer("param1").build(); public final static C PARAM2 = CONF.str("param_two").build();