public static int translateCategory(CompilerMessageCategory category) {
    return CompilerMessagesService.translateCategory(category);
  }
public static int translateCategory(CompilerMessageCategory category)