@classmethod
def SimpleTypeDefinition(cls):
    """Return the SimpleTypeDefinition instance for the given
        class.

        This should only be invoked when generating bindings.  An STD must
        have been associated with the class using L{_SimpleTypeDefinition}."""
    attr_name = cls.__STDAttrName()
    assert hasattr(cls, attr_name)
    return getattr(cls, attr_name)
