aboutsummaryrefslogtreecommitdiff
path: root/src/lombok/core/AnnotationValues.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-06-27 03:52:31 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-06-27 03:52:31 +0200
commit18931bec5315db308e369a05918af54e59ebd8b6 (patch)
treecd75c2046f2200d474d1229baf3c11d719f10cde /src/lombok/core/AnnotationValues.java
parent4bddd821d2b1c37e4a1f59ee5c06668a315120dd (diff)
downloadlombok-18931bec5315db308e369a05918af54e59ebd8b6.tar.gz
lombok-18931bec5315db308e369a05918af54e59ebd8b6.tar.bz2
lombok-18931bec5315db308e369a05918af54e59ebd8b6.zip
[TRIVIAL] Added a toString to AnnotationValue, used to debug something, but useful enough to leave in there.
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 515079e6..e08d4169 100644
--- a/src/lombok/core/AnnotationValues.java
+++ b/src/lombok/core/AnnotationValues.java
@@ -51,6 +51,10 @@ public class AnnotationValues<A extends Annotation> {
public void setError(String message, int valueIdx) {
node.addError(message);
}
+
+ @Override public String toString() {
+ return "raws: " + raws + " valueGuesses: " + valueGuesses;
+ }
}
public AnnotationValues(Class<A> type, Map<String, AnnotationValue> values, AST<?>.Node ast) {