import lombok.experimental.UtilityClass; @UtilityClass public class UtilityClassExample { private final int CONSTANT = 5; public void addSomething(int in) { return in + CONSTANT; } }