From 9488c1c248569d91fa74ed9358baba7f175f02fa Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 12 Jun 2017 22:29:24 +0200 Subject: Removed old website; we no longer use it. --- website-old/features/experimental/var.html | 83 ------------------------------ 1 file changed, 83 deletions(-) delete mode 100644 website-old/features/experimental/var.html (limited to 'website-old/features/experimental/var.html') diff --git a/website-old/features/experimental/var.html b/website-old/features/experimental/var.html deleted file mode 100644 index dde9c35e..00000000 --- a/website-old/features/experimental/var.html +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - EXPERIMENTAL – @var -
-
-
- -

@var

- -
-

Since

-

- @var was introduced as experimental feature in lombok v1.16.12. -

-
-
-

Experimental

-

- Experimental because: -

    -
  • This feature is very controversial.
  • -
  • There is JEP 286 that should make the @var obsolete.
  • -
Current status: uncertain - Currently we feel this feature cannot move out of experimental status. -
-
-

Overview

-

- The @var has the same mission as the @val annotation but modifable. -

-
-
-
-

With Lombok

-
@HTML_PRE@
-
-
-
-

Vanilla Java

-
@HTML_POST@
-
-
-
-
-

Supported configuration keys:

-
-
lombok.val.flagUsage = [allow] (default: not set)
-
Lombok will flag any usage of var as an error if not configured.
-
-
-
-

Small print

-

- For compound types, the most common superclass is inferred, not any shared interfaces. For example, bool ? new HashSet() : new ArrayList() - is an expression with a compound type: The result is both AbstractCollection as well as Serializable. The type inferred will be - AbstractCollection, as that is a class, whereas Serializable is an interface. -

- In ambiguous cases, java.lang.Object is inferred. -

-
-
- -
-
-
- - - -- cgit