Skip to content

Instantly share code, notes, and snippets.

@RodrigoPinho
Last active May 20, 2020 22:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RodrigoPinho/a32441596def0b819552d2b65874ce0e to your computer and use it in GitHub Desktop.
Save RodrigoPinho/a32441596def0b819552d2b65874ce0e to your computer and use it in GitHub Desktop.
import lombok.experimental.UtilityClass;
@UtilityClass
public class UtilityClassWithLombok {
private final int CONSTANT = 5;
public int addSomething(int in) {
return in + CONSTANT;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment