public static class Finder.ByNameRecursivelyFinder
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 element by name.
|
<T extends Element> |
find(java.util.Collection<? extends Element> roots,
java.lang.Class[] type,
java.lang.String name,
boolean includeRoot)
Find element by name.
|
<T extends Element> |
find(java.util.Collection<? extends Element> roots,
java.lang.Class type,
java.lang.String name)
Find element by name.
|
<T extends Element> |
find(java.util.Collection<? extends Element> roots,
java.lang.Class type,
java.lang.String name,
boolean includeRoot)
Find element by name.
|
<T extends Element> |
find(Element root,
java.lang.Class[] type,
java.lang.String name)
Find element by name.
|
<T extends Element> |
find(Element root,
java.lang.Class[] type,
java.lang.String name,
boolean includeRoot)
Find element by name.
|
<T extends Element> |
find(Element root,
java.lang.Class type,
java.lang.String name)
Find element by name.
|
<T extends Element> |
find(Element root,
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.
|
<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.
|
@CheckForNull public <T extends Element> 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 name@CheckForNull public <T extends Element> 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 name@CheckForNull public <T extends Element> 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 into a search@CheckForNull public <T extends Element> 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 into a search@CheckForNull public <T extends Element> 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 name@CheckForNull public <T extends Element> 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 name@CheckForNull public <T extends Element> 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 into a search@CheckForNull public <T extends Element> 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 into a search@CheckForNull public <T extends Element> T find(java.util.Collection<? extends Element> roots, @CheckForNull java.lang.Class type, java.lang.String name)
roots
- root elementstype
- strict class type of element. Nulls means any elementname
- Element name@CheckForNull public <T extends Element> 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 name@CheckForNull public <T extends Element> T find(java.util.Collection<? extends Element> roots, @CheckForNull java.lang.Class type, java.lang.String name, boolean includeRoot)
roots
- root elementstype
- strict class type of element. Nulls means any elementname
- Element nameincludeRoot
- include root element into a search@CheckForNull public <T extends Element> T find(java.util.Collection<? extends Element> roots, @CheckForNull java.lang.Class[] type, java.lang.String name, boolean includeRoot)
roots
- root elementstype
- strict class types of element. Nulls means any elementname
- Element nameincludeRoot
- include root element into a search