From 58a7914027e3373faa942aa4ce7df2d3ebfb9a20 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Wed, 4 Feb 2015 00:08:48 +0100 Subject: @UtilityClass handlers now more intelligent about inner types of implicitly static contexts (enums, interfaces, and annotation declarations). Also added tests to test for these. --- .../resource/messages-delombok/UtilityClassErrors.java.messages | 1 + 1 file changed, 1 insertion(+) (limited to 'test/transform/resource/messages-delombok/UtilityClassErrors.java.messages') diff --git a/test/transform/resource/messages-delombok/UtilityClassErrors.java.messages b/test/transform/resource/messages-delombok/UtilityClassErrors.java.messages index 230ba04f..4afa12ec 100644 --- a/test/transform/resource/messages-delombok/UtilityClassErrors.java.messages +++ b/test/transform/resource/messages-delombok/UtilityClassErrors.java.messages @@ -1,3 +1,4 @@ 4 @UtilityClasses cannot have declared constructors. 7 @UtilityClass cannot be placed on a method local or anonymous inner class, or any class nested in such a class. 12 @UtilityClass is only supported on a class (can't be an interface, enum, or annotation). +17 @UtilityClass automatically makes the class static, however, this class cannot be made static. \ No newline at end of file -- cgit