@Nullable
  public GrTypeElement getTypeElement() {
    String typeString = getTypeString();
    if (typeString == null) return null;

    GrTypeElement typeElement = dereference(myTypeElement);
    if (typeElement == null) {
      typeElement = GroovyPsiElementFactory.getInstance(getProject()).createTypeElement(typeString, getPsi());
      myTypeElement = new SoftReference<>(typeElement);
    }

    return typeElement;
  }
@Nullable
  public GrTypeElement getTypeElement()