diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-06-08 22:26:30 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-06-08 22:26:30 +0200 |
commit | 1677c4a52a0aea1b955f7c2c7d096903d4a8c5ce (patch) | |
tree | 29de8d12d774f026c0f317e229532befaeb2d096 /doc | |
download | lombok-1677c4a52a0aea1b955f7c2c7d096903d4a8c5ce.tar.gz lombok-1677c4a52a0aea1b955f7c2c7d096903d4a8c5ce.tar.bz2 lombok-1677c4a52a0aea1b955f7c2c7d096903d4a8c5ce.zip |
Initial commit. As a proof of concept, it already works in javac and eclipse!
Diffstat (limited to 'doc')
-rw-r--r-- | doc/PlannedExtensions.txt | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/doc/PlannedExtensions.txt b/doc/PlannedExtensions.txt new file mode 100644 index 00000000..d6c5ffd7 --- /dev/null +++ b/doc/PlannedExtensions.txt @@ -0,0 +1,45 @@ +Planned lombok features +======================= + +## @Getter + +Put on any field; like so: + + private @Getter AnyType foo; + +This will generate the following method: + + public AnyType getFoo() { + return foo; + } + +Optionally you can generate a different access level by specifying the `AccessLevel` in the annotation, like so: + + private @Getter(AccessLevel.PROTECTED) AnyType foo; + +## @Setter + +Like @Getter, but creates setters. + +## @Data + +Creates getters, setters (for non-final fields), toString, equals, and hashCode, as well as a constructor, or, if you wish, +a 'static factory method'. + +## @Property + +## @AutoClose + +## @Synchronized + +## @Generator + +## @SneakyThrows + +# Maybes: + +## @RunInEDT + +## @SaneEquals + +## List Comprehensions |