private static @NotNull PsiReferenceBase getIdReferenceBase(XmlAttributeValue xmlAttributeValue,
                                                              String referencesId,
                                                              Map<String, XmlAttributeValue> fileIds,
                                                              Map<String, TypeMatch> typeMatches,
                                                              PsiClass controllerClass) {
    if (controllerClass != null && !FxmlConstants.CONTROLLER.equals(referencesId)) {
      final PsiField controllerField = controllerClass.findFieldByName(referencesId, false);
      if (controllerField != null) {
        return new JavaFxFieldIdReferenceProvider.JavaFxControllerFieldRef(xmlAttributeValue, controllerField, controllerClass);
      }
    }
    return new JavaFxIdReferenceBase(xmlAttributeValue, fileIds, typeMatches, referencesId);
  }
private static @NotNull PsiReferenceBase getIdReferenceBase(XmlAttributeValue xmlAttributeValue,
                                                              String referencesId,
                                                              Map<String, XmlAttributeValue> fileIds,
                                                              Map<String, TypeMatch> typeMatches,
                                                              PsiClass controllerClass)