Open andreoss opened 3 years ago
@andreoss I think it a good idea. @victornoel WDYT?
@andreoss @fabriciofx I'm not clear what this does provide exactly in practice… I'm a bit reluctant to annotate a method with something that is not really the "truth" without a good reason :)
We can annotate disabled methods which throw
UnsupportedOperationException
(i.e mutation methods onCollection
) in order to provide an extra clue for static analyzers and IDEs about them.