@NotNull
  @Override
  public Type getType() {
    PsiElement keyword = findChildByType(JqlTokenTypes.HISTORY_PREDICATES);
    assert keyword != null;
    return Type.valueOf(StringUtil.toUpperCase(keyword.getText()));
  }
@NotNull
  @Override
  public Type getType()