final ValueProperty property = context( ValueProperty.class );
final String decoded = property.decodeKeywords( text );
String label = decoded;
final ValueKeyword keyword = property.getKeyword( property.encodeKeywords( decoded ) );
if( keyword != null )
{
label = keyword.toDisplayString();
}
else if( property.hasAnnotation( NamedValues.class ) )
{
final LocalizationService localization = property.getLocalizationService();