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