@Override
    public final PsiReference @NotNull [] getReferencesByElement(@NotNull final PsiElement element,
                                                                 @NotNull final ProcessingContext context) {
      if (element instanceof CommandLineCommand) {
        return new PsiReference[]{new CommandLineCommandReference((CommandLineCommand)element)};
      }
      if (element instanceof CommandLineArgument) {
        return new PsiReference[]{new CommandLineArgumentReference((CommandLineArgument)element)};
      }
      if (element instanceof CommandLineOption) {
        return new PsiReference[]{new CommandLineOptionReference((CommandLineOption)element)};
      }
      return PsiReference.EMPTY_ARRAY;
    }
@Override
    public final PsiReference @NotNull [] getReferencesByElement(@NotNull final PsiElement element,
                                                                 @NotNull final ProcessingContext context)