String () { PsiElement mirror = getMirror(); if (mirror != null) return mirror.getText(); StringBuilder buffer = new StringBuilder(); appendMirrorText(0, buffer); Logger.getInstance(ClsElementImpl.class).warn("Mirror wasn't set for " + this + " in " + getContainingFile() + ", expected text '" + buffer + "'"); return buffer.toString(); }