Hello all,
I basically have some constants stored in a class, like ```java
public class TypeLists {
public static final HashMap<String, Supplier<Class>> simpleInitType = new HashMap<>(Map.of(
));
}
I want to disallow accessing those constants directly, aka instead of allowing `simpleInitType.get("foo")` I want to forcibly make it so you have to type `TypeLists.simpleInitType.get("foot")` instead.
Is that possible in a java way? And if not, is there some IntelliJ setting that can enforce this?