public static final class Finder.ByNameAllRecursivelyFinder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
<T extends Element> |
find(java.util.Collection<? extends Element> roots,
java.lang.Class[] type,
java.lang.String name)
Find elements by name.
|
<T extends Element> |
find(java.util.Collection<? extends Element> roots,
java.lang.Class[] type,
java.lang.String name,
boolean includeRoot)
Find elements by name.
|
<T extends Element> |
find(java.util.Collection<? extends Element> roots,
java.lang.Class type,
java.lang.String name)
Find elements by name.
|
<T extends Element> |
find(java.util.Collection<? extends Element> roots,
java.lang.Class type,
java.lang.String name,
boolean includeRoot)
Find elements by name.
|
<T extends Element> |
find(Element root,
java.lang.Class[] type,
java.lang.String name)
Find elements by name.
|
<T extends Element> |
find(Element root,
java.lang.Class[] type,
java.lang.String name,
boolean includeRoot)
Find elements by name.
|
<T extends Element> |
find(Element root,
java.lang.Class type,
java.lang.String name)
Find elements by name.
|
<T extends Element> |
find(Element root,
java.lang.Class type,
java.lang.String name,
boolean includeRoot)
Find elements by name.
|
<T extends Element> |
find(Project project,
java.lang.Class[] type,
java.lang.String name)
Find element by name.
|
<T extends Element> |
find(Project project,
java.lang.Class[] type,
java.lang.String name,
boolean includeRoot)
Find element by name.
|
<T extends Element> |
find(Project project,
java.lang.Class type,
java.lang.String name)
Find element by name.
|
<T extends Element> |
find(Project project,
java.lang.Class type,
java.lang.String name,
boolean includeRoot)
Find element by name.
|
public <T extends Element> java.util.Collection<T> find(Element root, @CheckForNull java.lang.Class type, java.lang.String name)
root
- root elementtype
- strict class type of element. Nulls means any elementname
- Element namepublic <T extends Element> java.util.Collection<T> find(Element root, @CheckForNull java.lang.Class[] type, java.lang.String name)
root
- root elementtype
- strict class types of element. Nulls means any elementname
- Element namepublic <T extends Element> java.util.Collection<T> find(java.util.Collection<? extends Element> roots, @CheckForNull java.lang.Class type, java.lang.String name)
roots
- root elementtype
- strict class type of element. Nulls means any elementname
- Element namepublic <T extends Element> java.util.Collection<T> find(java.util.Collection<? extends Element> roots, @CheckForNull java.lang.Class[] type, java.lang.String name)
roots
- root elementtype
- strict class types of element. Nulls means any elementname
- Element namepublic <T extends Element> java.util.Collection<T> find(Project project, @CheckForNull java.lang.Class type, java.lang.String name)
project
- project (Project.getModels() will be used as roots)type
- strict class type of element. Nulls means any elementname
- Element namepublic <T extends Element> java.util.Collection<T> find(Project project, @CheckForNull java.lang.Class[] type, java.lang.String name)
project
- project (Project.getModels() will be used as roots)type
- strict class types of element. Nulls means any elementname
- Element namepublic <T extends Element> java.util.Collection<T> find(Element root, @CheckForNull java.lang.Class type, java.lang.String name, boolean includeRoot)
root
- root elementtype
- strict class type of element. Nulls means any elementname
- Element nameincludeRoot
- include root element(s) into a searchpublic <T extends Element> java.util.Collection<T> find(Element root, @CheckForNull java.lang.Class[] type, java.lang.String name, boolean includeRoot)
root
- root elementtype
- strict class types of element. Nulls means any elementname
- Element nameincludeRoot
- include root element(s) into a searchpublic <T extends Element> java.util.Collection<T> find(java.util.Collection<? extends Element> roots, @CheckForNull java.lang.Class type, java.lang.String name, boolean includeRoot)
roots
- root elementtype
- strict class type of element. Nulls means any elementname
- Element nameincludeRoot
- include root element(s) into a searchpublic <T extends Element> java.util.Collection<T> find(java.util.Collection<? extends Element> roots, @CheckForNull java.lang.Class[] type, java.lang.String name, boolean includeRoot)
roots
- root elementtype
- strict class types of element. Nulls means any elementname
- Element nameincludeRoot
- include root element(s) into a searchpublic <T extends Element> java.util.Collection<T> find(Project project, @CheckForNull java.lang.Class type, java.lang.String name, boolean includeRoot)
project
- project (Project.getModels() will be used as roots)type
- strict class type of element. Nulls means any elementname
- Element nameincludeRoot
- include root element(s) into a searchpublic <T extends Element> java.util.Collection<T> find(Project project, @CheckForNull java.lang.Class[] type, java.lang.String name, boolean includeRoot)
project
- project (Project.getModels() will be used as roots)type
- strict class types of element. Nulls means any elementname
- Element nameincludeRoot
- include root element(s) into a search