public class GroupsUsedByElementsVisitor extends Object
| Constructor and Description |
|---|
GroupsUsedByElementsVisitor() |
| Modifier and Type | Method and Description |
|---|---|
static Set<GroupSymbol> |
getGroups(Collection<? extends LanguageObject> objects) |
static void |
getGroups(Collection<? extends LanguageObject> objects,
Set<GroupSymbol> groups) |
static Set<GroupSymbol> |
getGroups(LanguageObject obj)
Helper to quickly get the groups from obj in a collection.
|
static void |
getGroups(LanguageObject obj,
Collection<GroupSymbol> groups)
Helper to quickly get the groups from obj in the elements collection
|
public static final void getGroups(LanguageObject obj, Collection<GroupSymbol> groups)
obj - Language objectelements - Collection to collect groups inpublic static final Set<GroupSymbol> getGroups(LanguageObject obj)
obj - Language objectGroupSymbolpublic static Set<GroupSymbol> getGroups(Collection<? extends LanguageObject> objects)
public static void getGroups(Collection<? extends LanguageObject> objects, Set<GroupSymbol> groups)
Copyright © 2019. All rights reserved.