@Override
  public @Nullable PsiElement resolve() {
    final Project project = getElement().getProject();
    final PsiClass psiClass =
      JavaPsiFacade.getInstance(project).findClass(JavaFxCommonNames.JAVAFX_SCENE_COLOR, GlobalSearchScope.allScope(project));
    if (psiClass != null) {
      return psiClass.findFieldByName(StringUtil.toUpperCase(getCanonicalText()), false);
    }
    return null;
  }
@Override
  public @Nullable PsiElement resolve()