aboutsummaryrefslogtreecommitdiff
path: root/doc/PlannedExtensions.txt
blob: ad38855e53903c90635256f7e35b224e8f4da52a (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
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

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