aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse/handlers/HandleBuilder.java
diff options
context:
space:
mode:
authorcnuessgens <christian@nuessgens.com>2018-03-22 17:48:58 +0100
committercnuessgens <christian@nuessgens.com>2018-03-22 17:48:58 +0100
commit06da0854e93df222603fcc2e51c9594c16899087 (patch)
tree66fb28a407cf3322801f241cc419767a25417e03 /src/core/lombok/eclipse/handlers/HandleBuilder.java
parent1b6de01bf187def687cb0e757da4295b0790f0ac (diff)
parent5a5d75a931e66b03212081e35bdfdc7b6be98783 (diff)
downloadlombok-06da0854e93df222603fcc2e51c9594c16899087.tar.gz
lombok-06da0854e93df222603fcc2e51c9594c16899087.tar.bz2
lombok-06da0854e93df222603fcc2e51c9594c16899087.zip
Merge remote-tracking branch 'remotes/upstream/master'
Diffstat (limited to 'src/core/lombok/eclipse/handlers/HandleBuilder.java')
-rw-r--r--src/core/lombok/eclipse/handlers/HandleBuilder.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleBuilder.java b/src/core/lombok/eclipse/handlers/HandleBuilder.java
index 12b8f6bc..dd862393 100644
--- a/src/core/lombok/eclipse/handlers/HandleBuilder.java
+++ b/src/core/lombok/eclipse/handlers/HandleBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2013-2017 The Project Lombok Authors.
+ * Copyright (C) 2013-2018 The Project Lombok Authors.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -185,8 +185,7 @@ public class HandleBuilder extends EclipseAnnotationHandler<Builder> {
TypeDeclaration td = (TypeDeclaration) tdParent.get();
List<EclipseNode> allFields = new ArrayList<EclipseNode>();
- @SuppressWarnings("deprecation")
- boolean valuePresent = (hasAnnotation(lombok.Value.class, parent) || hasAnnotation(lombok.experimental.Value.class, parent));
+ boolean valuePresent = (hasAnnotation(lombok.Value.class, parent) || hasAnnotation("lombok.experimental.Value", parent));
for (EclipseNode fieldNode : HandleConstructor.findAllFields(tdParent, true)) {
FieldDeclaration fd = (FieldDeclaration) fieldNode.get();
EclipseNode isDefault = findAnnotation(Builder.Default.class, fieldNode);