aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse/handlers/HandleSynchronized.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2014-01-18 20:26:08 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2014-01-18 20:26:08 +0100
commit5767628efeb66644827f89861425ff173803b9ad (patch)
treec15dd4b21eeeb5969b54f2f6a3323c2c46171262 /src/core/lombok/eclipse/handlers/HandleSynchronized.java
parent08868a2076f827958f1f3b89f084abbc32c3f423 (diff)
downloadlombok-5767628efeb66644827f89861425ff173803b9ad.tar.gz
lombok-5767628efeb66644827f89861425ff173803b9ad.tar.bz2
lombok-5767628efeb66644827f89861425ff173803b9ad.zip
[configuration] Moved ALL ConfigurationKey constants into 'ConfigurationKeys'; that bug where fields in annotation defs causes issues is too endemic to try and work around these.
Diffstat (limited to 'src/core/lombok/eclipse/handlers/HandleSynchronized.java')
-rw-r--r--src/core/lombok/eclipse/handlers/HandleSynchronized.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleSynchronized.java b/src/core/lombok/eclipse/handlers/HandleSynchronized.java
index fa0b4ad0..66894153 100644
--- a/src/core/lombok/eclipse/handlers/HandleSynchronized.java
+++ b/src/core/lombok/eclipse/handlers/HandleSynchronized.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009-2013 The Project Lombok Authors.
+ * Copyright (C) 2009-2014 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
@@ -26,6 +26,7 @@ import static lombok.eclipse.handlers.EclipseHandlerUtil.*;
import java.lang.reflect.Modifier;
+import lombok.ConfigurationKeys;
import lombok.Synchronized;
import lombok.core.AnnotationValues;
import lombok.core.HandlerPriority;
@@ -106,7 +107,7 @@ public class HandleSynchronized extends EclipseAnnotationHandler<Synchronized> {
}
@Override public void handle(AnnotationValues<Synchronized> annotation, Annotation source, EclipseNode annotationNode) {
- handleFlagUsage(annotationNode, Synchronized.FLAG_USAGE, "@Synchronized");
+ handleFlagUsage(annotationNode, ConfigurationKeys.SYNCHRONIZED_FLAG_USAGE, "@Synchronized");
int p1 = source.sourceStart -1;
int p2 = source.sourceStart -2;