Use class without instance (like e.g. String)

It's the answer to OP's question .... a working example of the pattern that OP wants to implement. Whether or not it is "real world", practical, or useful is immaterial to the question and answer.