Java get item by name

Hi, I’m struggling with openHAB and Java.
Currently I’m writing my first own binding. I’m trying to get items by their names to get its accepted datatypes. The class ItemRegistryImp provides a method getItem(String name). But how do I call an object of ItemRegistryImp to access this method in my binding?

Thanks in advance!