From 1e617ccfb51855736e27cd618afc092a70832983 Mon Sep 17 00:00:00 2001 From: Soroush Nejad Date: Mon, 7 Oct 2019 10:59:35 +0200 Subject: Add documentation for Tolerate --- .../templates/features/experimental/Tolerate.html | 34 ++++++++++++++++++++++ website/templates/features/experimental/index.html | 6 +++- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 website/templates/features/experimental/Tolerate.html (limited to 'website/templates') diff --git a/website/templates/features/experimental/Tolerate.html b/website/templates/features/experimental/Tolerate.html new file mode 100644 index 00000000..09610069 --- /dev/null +++ b/website/templates/features/experimental/Tolerate.html @@ -0,0 +1,34 @@ +<#import "../_features.html" as f> + + <@f.scaffold title="@Tolerate" logline="Skip, jump, and forget! Skip a method or constructor."> + <@f.history> +

+ @Tolerate was introduced as feature in lombok v1.14.2
+

+ + + <@f.experimental> + + + + <@f.overview> +

+ Any method or constructor can be annotated with @Tolerate and lombok will skip it when + considering whether or not to generate a method or constructor. This is useful if the types of the + parameters of your method do not clash with what lombok would generate. +

+

+ Put on any method or constructor to make lombok pretend it doesn't exist,i.e., to generate a method + which would otherwise be skipped due to possible conflicts. +

+ + + <@f.snippets name="experimental/Tolerate" /> + \ No newline at end of file diff --git a/website/templates/features/experimental/index.html b/website/templates/features/experimental/index.html index 960f4b1a..9ed3f546 100644 --- a/website/templates/features/experimental/index.html +++ b/website/templates/features/experimental/index.html @@ -9,7 +9,7 @@
The Lombok javadoc is available, but we advise these pages. - +

Experimental features are available in your normal lombok installation, but are not as robustly supported as lombok's main features. In particular, experimental features:

<@f.confKeys> -- cgit