@Override
  public String getName() {
    String name = myCachedName;
    if (name != null) return name;
    PsiClassStub<?> stub = getGreenStub();
    if (stub == null) {
      PsiIdentifier identifier = getNameIdentifier();
      name = identifier == null ? null : identifier.getText();
    }
    else {
      name = stub.getName();
    }
    myCachedName = name;
    return name;
  }
@Override
  public String getName()