aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac/HandlerLibrary.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/javac/HandlerLibrary.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/javac/HandlerLibrary.java')
-rw-r--r--src/core/lombok/javac/HandlerLibrary.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/lombok/javac/HandlerLibrary.java b/src/core/lombok/javac/HandlerLibrary.java
index 4306b5f2..6994836b 100644
--- a/src/core/lombok/javac/HandlerLibrary.java
+++ b/src/core/lombok/javac/HandlerLibrary.java
@@ -35,6 +35,7 @@ import java.util.WeakHashMap;
import javax.annotation.processing.Messager;
import javax.tools.Diagnostic;
+import lombok.ConfigurationKeys;
import lombok.core.HandlerPriority;
import lombok.core.SpiLoadUtil;
import lombok.core.TypeLibrary;
@@ -53,6 +54,10 @@ import com.sun.tools.javac.tree.JCTree.JCCompilationUnit;
* building an AnnotationValues instance.
*/
public class HandlerLibrary {
+ static {
+ ConfigurationKeys.class.getClass();
+ }
+
private final TypeLibrary typeLibrary = new TypeLibrary();
private final Map<String, AnnotationHandlerContainer<?>> annotationHandlers = new HashMap<String, AnnotationHandlerContainer<?>>();
private final Collection<VisitorContainer> visitorHandlers = new ArrayList<VisitorContainer>();