Sort the Lombok constructor annotations by how many parameters they have. Assume that the class they are applied to has at least two fields and that not all fields are final. Sort them ascending.
Reducing boilerplate code with Lombok
Lombok constructor annotations
Report a typo
Put the items in the correct order
@AllArgsConstructor
@RequiredArgsConstructor
@NoArgsConstructor
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.