APIdia Launch Partner
Top Description Fields Constructors Methods
jdk.internal.org.jline.reader.impl.completer

public final Class NullCompleter

extends Object
implements Completer
Class Inheritance
All Implemented Interfaces
jdk.internal.org.jline.reader.Completer
Imports
java.util.List, jdk.internal.org.jline.reader.Candidate, .Completer, .LineReader, .ParsedLine

Null completer.
Authors
Marc Prud'hommeaux, Jason Dillon
Since
2.3

Field Summary

Modifier and TypeField and Description
public static final NullCompleter

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
complete(LineReader reader, final ParsedLine line, final List<Candidate> candidates)

Implements jdk.internal.org.jline.reader.Completer.complete.

Populates candidates with a list of possible completions for the command line.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final NullCompleter INSTANCE

Constructor Detail

NullCompleterback to summary
public NullCompleter()

Method Detail

completeback to summary
public void complete(LineReader reader, final ParsedLine line, final List<Candidate> candidates)

Implements jdk.internal.org.jline.reader.Completer.complete.

Doc from jdk.internal.org.jline.reader.Completer.complete.

Populates candidates with a list of possible completions for the command line. The list of candidates will be sorted and filtered by the LineReader, so that the list of candidates displayed to the user will usually be smaller than the list given by the completer. Thus it is not necessary for the completer to do any matching based on the current buffer. On the contrary, in order for the typo matcher to work, all possible candidates for the word being completed should be returned.