@Builder
.@Default
must have an initializing expression; that expression is taken as the default to be used if not explicitly set during building.@Builder
on a type) or a parameter (for @Builder
on a constructor or static method) to
indicate how lombok should obtain a value for this field or parameter given an instance; this is only relevant if toBuilder
is true
.Delegate
instead.equals
and hashCode
methods inherited by all objects, based on relevant fields.equals
and hashCode
methods.equals
and hashCode
implementation; if on a method, include the method's return value as part of calculating hashCode/equality.Lock
.ReadWriteLock.readLock()
.ReadWriteLock.writeLock()
.final
.NullPointerException
with the parameter's name as message.@Builder
to create single element 'add' methods in the builder for collections.java.lang.Throwable
type to add the 4 common exception constructors.@SuperBuilder
, but which works well when extending.toString
method inherited by all objects, consisting of printing the values of relevant fields.toString
.toString
; if on a method, include the method's return value in the output.val
as the type of any local variable declaration (even in a for-each statement), and the type will be inferred from the initializing expression.var
has been promoted to the main package; use var
instead.var
as the type of any local variable declaration (even in a for
statement), and the type will be inferred from the initializing expression
(any further assignments to the variable are not involved in this type inference).With
has been promoted to the main package, so use that one instead.Copyright © 2024. All rights reserved.