aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2020-06-24 22:12:39 +0200
committerRoel Spilker <r.spilker@gmail.com>2020-06-25 20:35:04 +0200
commite964c995caa948e3b9ac3fc531a09e200124ec73 (patch)
tree24042ab09f99377bb1482669ee09e124e7edda42 /src/core/lombok/eclipse
parented8ea0d8043cb8df6ae3fb962ab3a2087f4adeb6 (diff)
downloadlombok-e964c995caa948e3b9ac3fc531a09e200124ec73.tar.gz
lombok-e964c995caa948e3b9ac3fc531a09e200124ec73.tar.bz2
lombok-e964c995caa948e3b9ac3fc531a09e200124ec73.zip
Fix UtilityClass test case
Diffstat (limited to 'src/core/lombok/eclipse')
-rw-r--r--src/core/lombok/eclipse/handlers/HandleUtilityClass.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleUtilityClass.java b/src/core/lombok/eclipse/handlers/HandleUtilityClass.java
index ada09d0e..2349f839 100644
--- a/src/core/lombok/eclipse/handlers/HandleUtilityClass.java
+++ b/src/core/lombok/eclipse/handlers/HandleUtilityClass.java
@@ -113,7 +113,7 @@ public class HandleUtilityClass extends EclipseAnnotationHandler<UtilityClass> {
if (typeNode.up().getKind() == Kind.COMPILATION_UNIT) markStatic = false;
if (markStatic && typeNode.up().getKind() == Kind.TYPE) {
TypeDeclaration typeDecl = (TypeDeclaration) typeNode.up().get();
- if ((typeDecl.modifiers & (ClassFileConstants.AccInterface | ClassFileConstants.AccAnnotation | ClassFileConstants.AccEnum)) != 0) markStatic = false;
+ if ((typeDecl.modifiers & (ClassFileConstants.AccInterface | ClassFileConstants.AccAnnotation)) != 0) markStatic = false;
}
if (markStatic) classDecl.modifiers |= ClassFileConstants.AccStatic;