Returns a name for the object.
For an interface or class this will return the qualified class name. For a method this will return the name of
the method. For a parameter the name of the parameter will be returned.
The object used to extract information for the message logger or message bundle, if applicable. The reference is
not used for the implementation and is provided for convenience.
For example, in an annotation processor implementation a ExecutableElement
might be returned.