Package space.arim.dazzleconf.annote
Annotation Type SubSection
Specifies either that the config entry is a configuration section,
or that a generic parameter of a collection (a collection element or map value)
is a configuration section.
Examples:
Examples:
public interface MyConfig {
@SubSection
ConfigSection mySubSection();
@DefaultObject("com.mypackage.MyConfigDefaults.sectionMapDefaults") // See @DefaultObject
Map<String, @SubSection ConfigSection> sectionMap();
interface ConfigSection {
@DefaultInteger(3)
int someValue();
@DefaultBoolean(true)
boolean toggle();
}
}
- Author:
- A248