Class CodeLensWorkspaceCapabilities


  • public class CodeLensWorkspaceCapabilities
    extends java.lang.Object
    Capabilities specific to the code lens requests scoped to the workspace.

    Since 3.16.0

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.Boolean getRefreshSupport()
      Whether the client implementation supports a refresh request sent from the server to the client.
      int hashCode()  
      void setRefreshSupport​(java.lang.Boolean refreshSupport)
      Whether the client implementation supports a refresh request sent from the server to the client.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CodeLensWorkspaceCapabilities

        public CodeLensWorkspaceCapabilities()
      • CodeLensWorkspaceCapabilities

        public CodeLensWorkspaceCapabilities​(java.lang.Boolean refreshSupport)
    • Method Detail

      • getRefreshSupport

        public java.lang.Boolean getRefreshSupport()
        Whether the client implementation supports a refresh request sent from the server to the client.

        Note that this event is global and will force the client to refresh all code lenses currently shown. It should be used with absolute care and is useful for situations where a server for example detects a project-wide change that requires such a calculation.

      • setRefreshSupport

        public void setRefreshSupport​(java.lang.Boolean refreshSupport)
        Whether the client implementation supports a refresh request sent from the server to the client.

        Note that this event is global and will force the client to refresh all code lenses currently shown. It should be used with absolute care and is useful for situations where a server for example detects a project-wide change that requires such a calculation.

      • toString

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object