Class Completers.AnyCompleter

java.lang.Object
org.jline.builtins.Completers.AnyCompleter
All Implemented Interfaces:
Completer
Enclosing class:
Completers

public static class Completers.AnyCompleter extends Object implements Completer
A completer that accepts any input.

This completer simply returns the current word as a candidate, effectively accepting any input without providing additional completions.

  • Field Details

  • Constructor Details

    • AnyCompleter

      public AnyCompleter()
  • Method Details

    • complete

      public void complete(LineReader reader, ParsedLine commandLine, List<Candidate> candidates)
      Completes the current word by returning it as a candidate.
      Specified by:
      complete in interface Completer
      Parameters:
      reader - the line reader
      commandLine - the parsed command line
      candidates - the list to add completion candidates to
      See Also: