boolean (@NotNull Project project, Editor editor, @NotNull PsiElement element) { final PsiField field = getField(element); if (field != null) { final PsiFile file = field.getContainingFile(); if (JavaFxModuleUtil.isInJavaFxProject(file) || JavaFxPsiUtil.isJavaFxPackageImported(file)) { return PropertyInfo.createPropertyInfo(field, project) != null; } } return false; }