Member predicate Classes::ClassOrInterface::getName

Gets the name of the defined class or interface, possibly inferred from the context if this is an anonymous class expression.

Has no result if no name could be determined.

string getName()