diff options
Diffstat (limited to 'website/usageExamples/experimental/UtilityClassExample_pre.jpage')
-rw-r--r-- | website/usageExamples/experimental/UtilityClassExample_pre.jpage | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/website/usageExamples/experimental/UtilityClassExample_pre.jpage b/website/usageExamples/experimental/UtilityClassExample_pre.jpage new file mode 100644 index 00000000..85731b81 --- /dev/null +++ b/website/usageExamples/experimental/UtilityClassExample_pre.jpage @@ -0,0 +1,10 @@ +import lombok.experimental.UtilityClass; + +@UtilityClass +public class UtilityClassExample { + private final int CONSTANT = 5; + + public void addSomething(int in) { + return in + CONSTANT; + } +} |