PropertyInfo (@NotNull PsiField field, @NotNull Project project) { final String fieldName = field.getName(); final PsiClass containingClass = field.getContainingClass(); final PsiTypeElement typeElement = field.getTypeElement(); if (containingClass != null && typeElement != null) { final ObservableType observableType = ObservableType.createObservableType(field, project); if (observableType != null) { return new PropertyInfo(field, containingClass, typeElement, fieldName, observableType); } } return null; }