aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2010-08-15 23:57:00 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2010-08-15 23:57:00 +0200
commitbcdd5226cec974df0518415d1ca4d21aef79a239 (patch)
tree2587dbc049377b5fbda1c5ea818d605e46acae1a
parent431543afcd5b5982c1a8cd749495b95d2143747d (diff)
downloadlombok-bcdd5226cec974df0518415d1ca4d21aef79a239.tar.gz
lombok-bcdd5226cec974df0518415d1ca4d21aef79a239.tar.bz2
lombok-bcdd5226cec974df0518415d1ca4d21aef79a239.zip
Documented the addition of the post-process stuff, which fixes issue 144.
-rw-r--r--doc/changelog.markdown2
-rw-r--r--src/core/lombok/core/handlers/SneakyThrowsDependencyInfo.java44
2 files changed, 2 insertions, 44 deletions
diff --git a/doc/changelog.markdown b/doc/changelog.markdown
index 27d4608c..d203dc44 100644
--- a/doc/changelog.markdown
+++ b/doc/changelog.markdown
@@ -2,6 +2,8 @@ Lombok Changelog
----------------
### v0.9.4 (edge)
+* FEATURE: Lombok now supports post-compile transformers. [Issue #144](http://code.google.com/p/projectlombok/issues/detail?id=144)
+* FEATURE: Using `@SneakyThrows` no longer requires a runtime dependency on lombok.jar. In fact, any call to {@code Lombok.sneakyThrows(ex)} is optimized at the bytecode level and no longer requires you to actually have lombok.jar or lombok-runtime.jar on the classpath.
* BUGFIX: `@Setter` and `@Getter` can now be applied to static fields again (was broken in v0.9.3 only). [Issue #136](http://code.google.com/p/projectlombok/issues/detail?id=136)
* BUGFIX: delombok added type parameters to constructors that mirror the type's own type parameters. This resulted in delombok turning any generated constructor that takes at least 1 parameter of type 'T' into something that didn't compile, and to boot, a confusing error message ('T is not compatible with T'). This is now fixed. [Issue #140](http://code.google.com/p/projectlombok/issues/detail?id=140)
diff --git a/src/core/lombok/core/handlers/SneakyThrowsDependencyInfo.java b/src/core/lombok/core/handlers/SneakyThrowsDependencyInfo.java
deleted file mode 100644
index 20615183..00000000
--- a/src/core/lombok/core/handlers/SneakyThrowsDependencyInfo.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright © 2009 Reinier Zwitserloot and Roel Spilker.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-package lombok.core.handlers;
-
-import java.util.Arrays;
-import java.util.List;
-
-import lombok.core.runtimeDependencies.RuntimeDependencyInfo;
-
-import org.mangosdk.spi.ProviderFor;
-
-@ProviderFor(RuntimeDependencyInfo.class)
-public class SneakyThrowsDependencyInfo implements RuntimeDependencyInfo {
- @Override public List<String> getRuntimeDependencies() {
- return Arrays.asList(
- "lombok/Lombok.class"
- );
- }
-
- @Override public List<String> getRuntimeDependentsDescriptions() {
- return Arrays.asList(
- "@SneakyThrows"
- );
- }
-}