public static EnumDefinition dropKeywordCreateEnum( EnumDefinition enumDefinition, Keyword keyword, boolean saveEnum) { if (enumDefinition == null) { enumDefinition = new EnumDefinition(keyword.toString(), saveEnum); } enumDefinition.setKeyword(keyword); return enumDefinition; }
public static EnumDefinition dropKeywordCreateEnum(Keyword keyword, boolean saveEnum) { EnumDefinition enumDefinition = new EnumDefinition(keyword.toString(), saveEnum); enumDefinition.setKeyword(keyword); return enumDefinition; }