aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/UtilityClassGeneric.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj/UtilityClassGeneric.java')
-rw-r--r--test/transform/resource/after-ecj/UtilityClassGeneric.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/UtilityClassGeneric.java b/test/transform/resource/after-ecj/UtilityClassGeneric.java
new file mode 100644
index 00000000..2e163d24
--- /dev/null
+++ b/test/transform/resource/after-ecj/UtilityClassGeneric.java
@@ -0,0 +1,21 @@
+import lombok.experimental.UtilityClass;
+final @UtilityClass class UtilityClassGeneric {
+ static class DTO {
+ DTO() {
+ super();
+ }
+ }
+ static <T>T convertValue(Class<T> toValueType) {
+ return null;
+ }
+ static DTO convert(Object json) {
+ return convertValue(DTO.class);
+ }
+ static Object convert(DTO dto) {
+ return null;
+ }
+ private @java.lang.SuppressWarnings("all") UtilityClassGeneric() {
+ super();
+ throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated");
+ }
+}