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

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

## @ReturnThis