public static class CompletionProposal.Factory extends Object
Modifier and Type | Method and Description |
---|---|
CompletionProposal |
withSeparateTokens(String suffix)
Add a suffix as a new token, that is, make sure there is a space before it.
|
CompletionProposal |
withSeparateTokens(String suffix,
String explanation)
Add a suffix as a new token, that is, make sure there is a space before it.
|
CompletionProposal |
withSuffix(String suffix) |
CompletionProposal |
withSuffix(String suffix,
String explanation) |
public CompletionProposal withSuffix(String suffix, String explanation)
public CompletionProposal withSuffix(String suffix)
public CompletionProposal withSeparateTokens(String suffix, String explanation)
A space is not appended if this is the very first token.
suffix
- the suffix to addexplanation
- the explanation of how to complete the textpublic CompletionProposal withSeparateTokens(String suffix)
A space is not appended if this is the very first token.
suffix
- the suffix to addCopyright © 2024 Pivotal Software, Inc.. All rights reserved.