@NotNull
  @Override
  public GrTypeElement createTypeElement(@NotNull PsiType type) throws IncorrectOperationException {
    final String typeText = getTypeText(type);
    if (typeText == null)
      throw new IncorrectOperationException("Cannot create type element: cannot obtain text for type");
    return createTypeElement(typeText);
  }
@NotNull
  @Override
  public GrTypeElement createTypeElement(@NotNull PsiType type)