public String getString(Enum<?> key)
    {
        if (key == null)
        {
            return null;
        }

        return getString(key.name());
    }
public String getString ( Enum < ? > key ) { if ( key == null ) { return null ; } return getString ( key . name ( ) ) ; }
Equivalent to {@link #getString(String)
getString}{@code (key.name())}.
If {@code key} is null, null is returned.