aboutsummaryrefslogtreecommitdiff
path: root/src/lombok/core/AnnotationValues.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/lombok/core/AnnotationValues.java')
-rw-r--r--src/lombok/core/AnnotationValues.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lombok/core/AnnotationValues.java b/src/lombok/core/AnnotationValues.java
index 9d098b59..15b4f3b7 100644
--- a/src/lombok/core/AnnotationValues.java
+++ b/src/lombok/core/AnnotationValues.java
@@ -298,6 +298,10 @@ public class AnnotationValues<A extends Annotation> {
return v == null ? Collections.<String>emptyList() : v.raws;
}
+ public boolean isExplicit(String annotationMethodName) {
+ return values.get(annotationMethodName) != null;
+ }
+
/**
* Convenience method to return the first result in a {@link #getRawExpressions(String)} call.
*