Class CompletionFragment

java.lang.Object
io.deephaven.lang.completion.CompletionFragment

public class CompletionFragment extends Object
A Deephaven-internal completion fragment. Represents a source code replacement option, with fields for "what code to insert", "where to insert it", and "what to render for completion, if different from code insertion".
  • Constructor Details

    • CompletionFragment

      public CompletionFragment(int start, int length, String completion)
    • CompletionFragment

      public CompletionFragment(int start, int length, String completion, String displayCompletion)
  • Method Details

    • getStart

      public int getStart()
    • getLength

      public int getLength()
    • getCompletion

      public String getCompletion()
    • getDisplayCompletion

      public String getDisplayCompletion()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object