public static String[] getDisplayNamefromChoiceSet( IChoiceSet choiceSet ) { String[] displayNames = new String[0]; if ( choiceSet == null ) return displayNames; IChoice[] choices = choiceSet.getChoices( ); if ( choices == null ) return displayNames;  displayNames = new String[choices.length]; for ( int i = 0; i < choices.length; i++ ) { displayNames[i] = choices[i].getDisplayName( ); } return displayNames;
public static String[] getDisplayNamefromChoiceSet(IChoiceSet choiceSet) { return getDisplayNamefromChoiceSet(choiceSet, null);
	public static String[] getDisplayNamefromChoiceSet( IChoiceSet choiceSet )	{		String[] displayNames = new String[0];		if ( choiceSet == null )			return displayNames;		IChoice[] choices = choiceSet.getChoices( );		if ( choices == null )			return displayNames;		displayNames = new String[choices.length];		for ( int i = 0; i < choices.length; i++ )		{			displayNames[i] = choices[i].getDisplayName( );		}		return displayNames;	}