Пример #1
0
 public static EnumDefinition dropKeywordCreateEnum(
     EnumDefinition enumDefinition, Keyword keyword, boolean saveEnum) {
   if (enumDefinition == null) {
     enumDefinition = new EnumDefinition(keyword.toString(), saveEnum);
   }
   enumDefinition.setKeyword(keyword);
   return enumDefinition;
 }
Пример #2
0
 public static EnumDefinition dropKeywordCreateEnum(Keyword keyword, boolean saveEnum) {
   EnumDefinition enumDefinition = new EnumDefinition(keyword.toString(), saveEnum);
   enumDefinition.setKeyword(keyword);
   return enumDefinition;
 }