Class HierarchicalDocumentSymbolService

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.Iterator<java.lang.Object> getAllContents​(org.eclipse.emf.ecore.resource.Resource resource)  
      java.util.List<org.eclipse.lsp4j.jsonrpc.messages.Either<org.eclipse.lsp4j.SymbolInformation,​org.eclipse.lsp4j.DocumentSymbol>> getSymbols​(Document document, org.eclipse.xtext.resource.XtextResource resource, org.eclipse.lsp4j.DocumentSymbolParams params, org.eclipse.xtext.util.CancelIndicator cancelIndicator)  
      java.util.List<org.eclipse.lsp4j.jsonrpc.messages.Either<org.eclipse.lsp4j.SymbolInformation,​org.eclipse.lsp4j.DocumentSymbol>> getSymbols​(org.eclipse.xtext.resource.XtextResource resource, org.eclipse.xtext.util.CancelIndicator cancelIndicator)  
      static boolean isValid​(org.eclipse.lsp4j.DocumentSymbol symbol)
      false if the argument is null or any of the NonNull properties are null.
      protected com.google.common.base.Optional<org.eclipse.emf.ecore.EObject> toEObject​(java.lang.Object object)  
      • Methods inherited from class java.lang.Object

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

      • HierarchicalDocumentSymbolService

        public HierarchicalDocumentSymbolService()
    • Method Detail

      • isValid

        public static boolean isValid​(org.eclipse.lsp4j.DocumentSymbol symbol)
        false if the argument is null or any of the NonNull properties are null. Otherwise, true.
      • getSymbols

        public java.util.List<org.eclipse.lsp4j.jsonrpc.messages.Either<org.eclipse.lsp4j.SymbolInformation,​org.eclipse.lsp4j.DocumentSymbol>> getSymbols​(Document document,
                                                                                                                                                                org.eclipse.xtext.resource.XtextResource resource,
                                                                                                                                                                org.eclipse.lsp4j.DocumentSymbolParams params,
                                                                                                                                                                org.eclipse.xtext.util.CancelIndicator cancelIndicator)
        Specified by:
        getSymbols in interface IDocumentSymbolService
      • getSymbols

        public java.util.List<org.eclipse.lsp4j.jsonrpc.messages.Either<org.eclipse.lsp4j.SymbolInformation,​org.eclipse.lsp4j.DocumentSymbol>> getSymbols​(org.eclipse.xtext.resource.XtextResource resource,
                                                                                                                                                                org.eclipse.xtext.util.CancelIndicator cancelIndicator)
      • getAllContents

        protected java.util.Iterator<java.lang.Object> getAllContents​(org.eclipse.emf.ecore.resource.Resource resource)
      • toEObject

        protected com.google.common.base.Optional<org.eclipse.emf.ecore.EObject> toEObject​(java.lang.Object object)