java.lang.Object
ro.sync.exml.workspace.api.standalone.project.textcompletions.CompletionProposal

@API(type=NOT_EXTENDABLE, src=PRIVATE) public final class CompletionProposal extends Object
Represents a text completion proposal.
Since:
24.1
  • Constructor Details

    • CompletionProposal

      public CompletionProposal(float score, String[] tokens)
      Constructor.
      Parameters:
      score - The score of the proposal.
      tokens - The tokens that can follow the prefix.
  • Method Details

    • getTokens

      public String[] getTokens()
      Returns:
      The tokens that can follow the prefix.
      Since:
      24.1
    • getScore

      public float getScore()
      Returns:
      Returns the score of the proposal.