String () { final GrAnnotationStub stub = getStub(); if (stub != null) { return stub.getPsiElement().getQualifiedName(); } final GrCodeReferenceElement nameRef = getClassReference(); final PsiElement resolved = nameRef.resolve(); if (resolved instanceof PsiClass) return ((PsiClass)resolved).getQualifiedName(); return null; }