Class Suggestion

  • All Implemented Interfaces:

    
    public final class Suggestion
    
                        

    A data class representing a suggestion in a command.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class Suggestion.Companion
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getText()
      final String getTooltip()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Suggestion

        Suggestion(String text, String tooltip)
        Parameters:
        text - The main text of the suggestion.
        tooltip - The tooltip of the suggestion, the suggestion will not include a tooltip if it is null.