The getter methods return values contained within a private static field in the MethodProvider class. Due to it being a static field it belongs to the class, rather than an instance of the class.
If you were to call .inventory on an instance of a MethodProvider, you would not get the properties from the static field within the MethodProvider class as you would with the getter.