|
Re: Are there any annotations to help find invalid hashCode() and equals() : msg#00042java.findbugs.general
I'm not aware of any such annotations, but it sounds like a good idea. I wonder if you could generalize the annotations a bit to say that particular fields should or should not be mentioned in certain methods: private @MustUseIn("hashCode,equals") String foo; private @MustNotUseIn("hashCode,equals") int bar; -Dave On 10/13/06, Rob Oxspring <roxspring@xxxxxxxxxxxx> wrote: Hi,
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Are there any annotations to help find invalid hashCode() and equals() methods?, Rob Oxspring |
|---|---|
| Next by Date: | Maven Report finds bugs Eclipse Plugin does not, KC Baltz |
| Previous by Thread: | Are there any annotations to help find invalid hashCode() and equals() methods?, Rob Oxspring |
| Next by Thread: | Maven Report finds bugs Eclipse Plugin does not, KC Baltz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |