You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Project Lombok
Imagine the following class:
public class User {
/**
* The internal user id.
*/
@Getter
private int idUser;
}
Using eclipse's javadoc warnings (for missing comments) I get the
following:
"Javadoc: Missing comment for public declaration" (at the variable
line).
Obviously I could disable the warning in the options, but then I would
loose them for all methods.
Additionally I get a Style type warning:
Unqualified access to the field User.idUser
Again I could disable this warning, but thats not the right way.
Third, the generated javadoc does not mention the getter.
I suppose the second one could be fixed by simply changing the
generated code to qualify the field.
For the other two, I have no clue.
Reinier Zwitserloot
unread,
Sep 15, 2009, 3:23:06 AM9/15/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Project Lombok
Disabling all warnings on generated code is in the works. Though,
those are some fairly archaic warnings you've got turned on there.
It would help if you could narrow down which of the things @Data does
is causing this, by using @Getter/@Setter/@ToString/@EqualsAndHashCode
instead, adding one at a time until the warning appears, then comment
on that issue. Thanks!