Interface IAvailableStringLiteralProviderImportedNamesExtension

    • Method Detail

      • getExportedName

        Collection<org.eclipse.xtext.naming.QualifiedName> getExportedName​(org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,​List<Expression>,​Integer> context,
                                                                           org.eclipse.xtext.scoping.IScopeProvider scopeProvider)
        Gets imported names provided by string literals
        Parameters:
        context - contains
        • parentObject object contains string literal in its parameters
        • allExpr all parameters of parentObject
        • paramNumber number of string literal in parameter method's list
        actual - IScopeProvider, can't be null
        Returns:
        found imported names or empty collection if string literal doesn't provide anything imported names
      • getReferenceDescriptions

        List<org.eclipse.xtext.resource.IReferenceDescription> getReferenceDescriptions​(org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,​List<Expression>,​Integer> context,
                                                                                        org.eclipse.xtext.scoping.IScopeProvider scopeProvider)
        Gets reference descriptions by string literals
        Parameters:
        context - contains
        • parentObject object contains string literal in its parameters
        • allExpr all parameters of parentObject
        • paramNumber number of string literal in parameter method's list
        actual - IScopeProvider, can't be null
        Returns:
        reference descriptions or empty list if string literal doesn't provide anything reference descriptions, never null