ContextUtils

public class ContextUtils

Methods

getAll

public static Set<IContext> getAll(Iterable<FileObject> resources, IProject project, ILanguageIdentifierService languageIdentifier, IContextService contextService)

Gets a set of all contexts for given resources.

Parameters:
  • resources – Resources to get contexts for.
  • project – The project the resources belong to.
  • languageIdentifier – Language identifier service.
  • contextService – Context service.
Returns:

Set of all contexts.