common: Add external annotations for Guava's Table#get
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Thu, 22 Oct 2015 22:20:41 +0000 (18:20 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Wed, 28 Oct 2015 23:02:05 +0000 (19:02 -0400)
commit3b5454bfe11fabe4cd8c892deccf365ab1c13c9f
tree7ec7e39b49ee824198e36ddedd8ed37b8f3afe2e
parentf6d300d1020425b610e56ee21a24ab4881416f3f
common: Add external annotations for Guava's Table#get

Just like Map.get(), Table.get() can return a null value to
indicate that the key is not present in the table, independently
of the declaration of the type V.

Guava Tables are now used in the graph/critical path classes, so
this is also required.

Slightly harder to add annotations to Guava classes atm due to
https://bugs.eclipse.org/bugs/show_bug.cgi?id=480462
but one can still write the .eea files manually.

Change-Id: Id5cc1bdea73bafe62af60df0fdf7f3e9c5f40796
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/58776
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
common/org.eclipse.tracecompass.common.core/annotations/com/google/common/collect/Table.eea [new file with mode: 0644]
This page took 0.024519 seconds and 5 git commands to generate.