@NotNull
  @Override
  public GrFieldStub createStub(@NotNull GrEnumConstant psi, StubElement parentStub) {
    String[] annNames = GrStubUtils.getAnnotationNames(psi);
    return new GrFieldStub(parentStub, StringRef.fromString(psi.getName()), annNames, ArrayUtilRt.EMPTY_STRING_ARRAY,
                           GroovyStubElementTypes.ENUM_CONSTANT, GrFieldStub.buildFlags(psi), null);
  }
@NotNull
  @Override
  public GrFieldStub createStub(@NotNull GrEnumConstant psi, StubElement parentStub)