Специальная конфигурационная библиотека на классовом редакторе
Добавить в Maven-проект:
<dependency>
<groupId>dev.igrammine.commons</groupId>
<artifactId>iConfig</artifactId>
<version>1.3</version>
<scope>compile</scope>
</dependency>
Пример создания конфига:
public class Example extends YamlConfig {
@Ignore
public static final Example CONFIG = new Example();
@Create
public SECTION SECTION;
public static class SECTION {
public String STRING = "Это строка.";
}
}
Итог:
section:
string: Это строка.
Special for [IGRAMMINE project](https://www.igrammine.ru/)