BeanProperty (@NotNull PsiReference reference) { if (acceptableReferenceClass.isAssignableFrom(reference.getClass())) { final PsiElement psiElement = reference.resolve(); return getBeanProperty(psiElement); } return null; }