private static LocalQuickFix @NotNull [] createFixes(JavaFxFieldIdReferenceProvider.JavaFxControllerFieldRef reference, PsiFile file) {
    
    @PsiModifier.ModifierConstant
    String visibility = JavaCodeStyleSettings.getInstance(file).VISIBILITY;
   
    Collection<AnnotationRequest> annotations; 
    if (!PsiModifier.PUBLIC.equals(visibility)) {
      annotations = Collections.singletonList(AnnotationRequestsKt.annotationRequest(JavaFxCommonNames.JAVAFX_FXML_ANNOTATION));
    }
    else {
      annotations = Collections.emptyList();
    }

    JvmModifier modifier = JvmUtil.getAccessModifier(VisibilityUtil.getAccessLevel(visibility));
    List<ExpectedType> expectedTypes = ExpectedTypesKt.expectedTypes(JavaPsiFacade.getElementFactory(file.getProject()).createType(checkContext(reference.getXmlAttributeValue())), ExpectedType.Kind.SUBTYPE);
    CreateFieldRequest request = FieldRequestsKt.fieldRequest(reference.getCanonicalText(), 
                                                              annotations, 
                                                              Collections.singletonList(modifier),
                                                              expectedTypes,
                                                              new PsiJvmSubstitutor(file.getProject(), PsiSubstitutor.EMPTY), null, false);
    return IntentionWrapper.wrapToQuickFixes(JvmElementActionFactories.createAddFieldActions(reference.getAClass(), request), file).toArray(LocalQuickFix.EMPTY_ARRAY);
  }
private static LocalQuickFix @NotNull [] createFixes(JavaFxFieldIdReferenceProvider.JavaFxControllerFieldRef reference, PsiFile file)