public final class

Elements

extends Object
java.lang.Object
   ↳ com.google.inject.spi.Elements

Class Overview

Exposes elements of a module so they can be inspected, validated or rewritten.

Summary

Public Constructors
Elements()
Public Methods
static List<Element> getElements(Module... modules)
Records the elements executed by modules.
static List<Element> getElements(Stage stage, Module... modules)
Records the elements executed by modules.
static List<Element> getElements(Stage stage, Iterable<? extends Module> modules)
Records the elements executed by modules.
static List<Element> getElements(Iterable<? extends Module> modules)
Records the elements executed by modules.
static Module getModule(Iterable<? extends Element> elements)
Returns the module composed of elements.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Elements ()

Public Methods

public static List<Element> getElements (Module... modules)

Records the elements executed by modules.

public static List<Element> getElements (Stage stage, Module... modules)

Records the elements executed by modules.

public static List<Element> getElements (Stage stage, Iterable<? extends Module> modules)

Records the elements executed by modules.

public static List<Element> getElements (Iterable<? extends Module> modules)

Records the elements executed by modules.

public static Module getModule (Iterable<? extends Element> elements)

Returns the module composed of elements.