diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-12-22 06:03:51 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2014-01-18 18:55:53 +0100 |
commit | e24ebbbf598adff2c8919dccce6e10b20021494e (patch) | |
tree | 4b50c7eef5408c86ef0f35000a2005b5252dfee0 /src/core/lombok/eclipse/handlers/HandleSneakyThrows.java | |
parent | 3797c8320acd903d3a5b6ce5c1ad97917df65f0a (diff) | |
download | lombok-e24ebbbf598adff2c8919dccce6e10b20021494e.tar.gz lombok-e24ebbbf598adff2c8919dccce6e10b20021494e.tar.bz2 lombok-e24ebbbf598adff2c8919dccce6e10b20021494e.zip |
[configuration] implementation of flagUsage for all handlers.
Diffstat (limited to 'src/core/lombok/eclipse/handlers/HandleSneakyThrows.java')
-rw-r--r-- | src/core/lombok/eclipse/handlers/HandleSneakyThrows.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleSneakyThrows.java b/src/core/lombok/eclipse/handlers/HandleSneakyThrows.java index d3a95db8..ec9acfa1 100644 --- a/src/core/lombok/eclipse/handlers/HandleSneakyThrows.java +++ b/src/core/lombok/eclipse/handlers/HandleSneakyThrows.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009-2012 The Project Lombok Authors. + * Copyright (C) 2009-2013 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 @@ -21,6 +21,7 @@ */ package lombok.eclipse.handlers; +import static lombok.core.handlers.HandlerUtil.*; import static lombok.eclipse.handlers.EclipseHandlerUtil.*; import java.lang.reflect.Modifier; @@ -75,6 +76,8 @@ public class HandleSneakyThrows extends EclipseAnnotationHandler<SneakyThrows> { } @Override public void handle(AnnotationValues<SneakyThrows> annotation, Annotation source, EclipseNode annotationNode) { + handleFlagUsage(annotationNode, SneakyThrows.FLAG_USAGE, "@SneakyThrows"); + List<String> exceptionNames = annotation.getRawExpressions("value"); List<DeclaredException> exceptions = new ArrayList<DeclaredException>(); |