@Target(value=TYPE) @Retention(value=SOURCE) public @interface NoArgsConstructor
@NonNull will NOT be checked
in such a constructor, of course!RequiredArgsConstructor,
AllArgsConstructor| Modifier and Type | Optional Element and Description |
|---|---|
AccessLevel |
access
Sets the access level of the constructor.
|
String |
staticName
If set, the generated constructor will be private, and an additional static 'constructor'
is generated with the same argument list that wraps the real constructor.
|
public abstract String staticName
public abstract AccessLevel access
public.Copyright © 2009-2011 The Project Lombok Authors, licensed under the MIT licence.