PsiClass (@NotNull String qualifiedName, @NotNull GlobalSearchScope scope) { if (!LombokLibraryUtil.hasLombokLibrary(myProject)) { return null; } final int lastDot = qualifiedName.lastIndexOf('.'); if (lastDot < 0) { return null; } final String parentName = qualifiedName.substring(0, lastDot); final String shortName = qualifiedName.substring(lastDot + 1); if (shortName.isEmpty() || parentName.isEmpty()) { return null; } final PsiClass parentClass = myFileManager.findClass(parentName, scope); if (null != parentClass) { return parentClass.findInnerClassByName(shortName, false); } return null; }