Liking cljdoc? Tell your friends :D

javax.lang.model.util.ElementFilter

Filters for selecting just the elements of interest from a collection of elements. The returned sets and lists are new collections and do use the argument as a backing store. The methods in this class do not make any attempts to guard against concurrent modifications of the arguments. The returned sets and lists are mutable but unsafe for concurrent access. A returned set has the same iteration order as the argument set to a method.

If iterables and sets containing null are passed as arguments to methods in this class, a NullPointerException will be thrown.

Note that a static import statement can make the text of calls to the methods in this class more concise; for example:

import static javax.lang.model.util.ElementFilter.*;
...
     List<VariableElement> fs = fieldsIn(someClass.getEnclosedElements());
Filters for selecting just the elements of interest from a
collection of elements.  The returned sets and lists are new
collections and do use the argument as a backing store.  The
methods in this class do not make any attempts to guard against
concurrent modifications of the arguments.  The returned sets and
lists are mutable but unsafe for concurrent access.  A returned set
has the same iteration order as the argument set to a method.

If iterables and sets containing null are passed as
arguments to methods in this class, a NullPointerException
will be thrown.

Note that a static import statement can make the text of
calls to the methods in this class more concise; for example:



    import static javax.lang.model.util.ElementFilter.*;
    ...
         List<VariableElement> fs = fieldsIn(someClass.getEnclosedElements());
raw docstring

*constructors-inclj

(*constructors-in elements)

Returns a list of constructors in elements.

elements - the elements to filter - java.lang.Iterable

returns: a list of constructors in elements - java.util.List<javax.lang.model.element.ExecutableElement>

Returns a list of constructors in elements.

elements - the elements to filter - `java.lang.Iterable`

returns: a list of constructors in elements - `java.util.List<javax.lang.model.element.ExecutableElement>`
raw docstring

*fields-inclj

(*fields-in elements)

Returns a list of fields in elements.

elements - the elements to filter - java.lang.Iterable

returns: a list of fields in elements - java.util.List<javax.lang.model.element.VariableElement>

Returns a list of fields in elements.

elements - the elements to filter - `java.lang.Iterable`

returns: a list of fields in elements - `java.util.List<javax.lang.model.element.VariableElement>`
raw docstring

*methods-inclj

(*methods-in elements)

Returns a list of methods in elements.

elements - the elements to filter - java.lang.Iterable

returns: a list of methods in elements - java.util.List<javax.lang.model.element.ExecutableElement>

Returns a list of methods in elements.

elements - the elements to filter - `java.lang.Iterable`

returns: a list of methods in elements - `java.util.List<javax.lang.model.element.ExecutableElement>`
raw docstring

*packages-inclj

(*packages-in elements)

Returns a list of packages in elements.

elements - the elements to filter - java.lang.Iterable

returns: a list of packages in elements - java.util.List<javax.lang.model.element.PackageElement>

Returns a list of packages in elements.

elements - the elements to filter - `java.lang.Iterable`

returns: a list of packages in elements - `java.util.List<javax.lang.model.element.PackageElement>`
raw docstring

*types-inclj

(*types-in elements)

Returns a list of types in elements.

elements - the elements to filter - java.lang.Iterable

returns: a list of types in elements - java.util.List<javax.lang.model.element.TypeElement>

Returns a list of types in elements.

elements - the elements to filter - `java.lang.Iterable`

returns: a list of types in elements - `java.util.List<javax.lang.model.element.TypeElement>`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close