public interface: Formattable
All Known Implementing Classes:
KindName, Token, LocalizedString
This interface must be implemented by any javac class that has non-trivial
formatting needs (e.g. where toString() does not apply because of localization).
This is NOT part of any supported API.
If you write code that depends on this, you do so at your own risk.
This code and its internal interfaces are subject to change or
deletion without notice.
Maurizio - Cimadamore
|Method from com.sun.tools.javac.api.Formattable Detail:|
public String getKind()
Retrieve a pretty name of this object's kind
public String toString(Locale locale,
Used to obtain a localized String representing the object accordingly
to a given locale