public static @Nullable PsiType getReadablePropertyType(@Nullable PsiElement declaration) {
    if (declaration instanceof PsiField) {
      return getWrappedPropertyType((PsiField)declaration, declaration.getProject(), JavaFxCommonNames.ourReadOnlyMap);
    }
    if (declaration instanceof PsiMethod psiMethod) {
      if (psiMethod.getParameterList().isEmpty() &&
          !psiMethod.hasModifierProperty(PsiModifier.STATIC)) {
        return getGetterReturnType(psiMethod);
      }
    }
    return null;
  }
public static @Nullable PsiType getReadablePropertyType(@Nullable PsiElement declaration)