From 1677c4a52a0aea1b955f7c2c7d096903d4a8c5ce Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 8 Jun 2009 22:26:30 +0200 Subject: Initial commit. As a proof of concept, it already works in javac and eclipse! --- doc/PlannedExtensions.txt | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 doc/PlannedExtensions.txt (limited to 'doc') 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 -- cgit