diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2010-12-28 16:50:19 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2010-12-28 16:51:02 +0100 |
commit | 52582dc10ea1b5ea4a1dbb71831a442056354990 (patch) | |
tree | afd0794b7360e5c174a79a54c54a50aacfe31efc /doc | |
parent | d80139fa8f21b1e6c7fad0a0607986d7b246a06f (diff) | |
download | lombok-52582dc10ea1b5ea4a1dbb71831a442056354990.tar.gz lombok-52582dc10ea1b5ea4a1dbb71831a442056354990.tar.bz2 lombok-52582dc10ea1b5ea4a1dbb71831a442056354990.zip |
@ToString, @Getter, and @XArgsConstructor now work on, and are legal on, enums. Docs have been updated.
Behaviour of @XArgsConstructor when its placement makes no sense (i.e. when annotating an interface with them) is no longer 'throw weird errors', but has been brought in line with the others: A nice error message is generated.
Fixes issue #175
Diffstat (limited to 'doc')
-rw-r--r-- | doc/changelog.markdown | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/changelog.markdown b/doc/changelog.markdown index 43a1eb9d..9264adde 100644 --- a/doc/changelog.markdown +++ b/doc/changelog.markdown @@ -5,6 +5,7 @@ Lombok Changelog * FEATURE: Added support for several logging frameworks by the `@Log` annotation. * 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. + * FEATURE: @XArgsConstructor, @Getter, and @ToString can now be used on enum declarations. Previously, behaviour of these annotations on enums was undefined. * 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) * BUGFIX: Add null check for `@Cleanup` [Issue #154](http://code.google.com/p/projectlombok/issues/detail?id=154) |