aboutsummaryrefslogtreecommitdiff
path: root/doc/PlannedExtensions.txt
blob: 27527d9dc9122d4fedb5ec530f24bd6e20511d35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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;

Don't forget to allow use on static fields!

## @Setter

Like @Getter, but creates setters.
Don't forget to allow use on static fields!

## @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

http://today.java.net/pub/a/today/2009/06/02/hacking-javafx-binding.html

## @AutoClose

## @Synchronized

## @Generator

## @SneakyThrows

## @Finalizer

# Maybes:

## @RunInEDT

## @SaneEquals

## List Comprehensions

## Dodge access restrictions (call method private stuff, recompile to reflection).

## @ReturnThis