aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-03-15 06:59:31 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-03-15 06:59:31 +0100
commit94440a8bd73f176637a9890dc10df67d26615674 (patch)
treea4ead3a782238c141dda6a0b7d43433f7c3997f1 /test/transform/resource/after-ecj
parent3edac649118dff4a48d7218dc31a727f13537fea (diff)
downloadlombok-94440a8bd73f176637a9890dc10df67d26615674.tar.gz
lombok-94440a8bd73f176637a9890dc10df67d26615674.tar.bz2
lombok-94440a8bd73f176637a9890dc10df67d26615674.zip
[UtilityClass] [issue #2384] Added a test to confirm no issue.
added some tests to confirm that lombok makes things static if needed.
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r--test/transform/resource/after-ecj/UtilityClassInner.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/UtilityClassInner.java b/test/transform/resource/after-ecj/UtilityClassInner.java
new file mode 100644
index 00000000..eebc5d13
--- /dev/null
+++ b/test/transform/resource/after-ecj/UtilityClassInner.java
@@ -0,0 +1,11 @@
+class UtilityClassInner {
+ static final @lombok.experimental.UtilityClass class UtilClass {
+ private @java.lang.SuppressWarnings("all") UtilClass() {
+ super();
+ throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated");
+ }
+ }
+ UtilityClassInner() {
+ super();
+ }
+} \ No newline at end of file