Add annotations for Map.keySet() and .values()
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Fri, 30 Oct 2015 22:55:57 +0000 (18:55 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Tue, 24 Nov 2015 00:35:10 +0000 (19:35 -0500)
commita49efaae237df7cccc08fddeef277791433930fa
tree063e480de99874209175ece5a6b48cb1e52ebe52
parent95bcb6c44b49f1a78d8c2a032435d849d84e7322
Add annotations for Map.keySet() and .values()

The returned Set and Collection always exist (would be empty
if there are no entries in the map), so can be marked @NonNull.

The generic types K or V keep the same modifiers as the map definition.

Change-Id: If826108fbbd9abb19c7f87f9ef6e27c047425461
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/59423
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
common/org.eclipse.tracecompass.common.core/annotations/java/util/Map.eea
tmf/org.eclipse.tracecompass.tmf.core.tests/stubs/org/eclipse/tracecompass/tmf/tests/stubs/analysis/TestRequirementAnalysis.java
This page took 0.026975 seconds and 5 git commands to generate.