The idea is to check that all of the class names match a singleton declared in a component somewhere and that they return an object that implements the advertised interface. Otherwise the generated getter for the singleton will fail with a runtime exception. Change-Id: I1352e7392e33e9182962e6279fcb62cf3b58352a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200056 Reviewed-by: Neil Roberts <bpeeluk@yahoo.co.uk> Tested-by: Jenkins