void (@NotNull PsiAnnotationStub stub, @NotNull IndexSink sink) { String shortName = getReferenceShortName(stub.getText()); if (!StringUtil.isEmptyOrSpaces(shortName)) { sink.occurrence(JavaStubIndexKeys.ANNOTATIONS, shortName); } }