tools: static inner class

Change-Id: I77d60446317c5a8a53c50b136b4c1040f8ba59b3
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>