String () { 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; }