com.google.inject.spi

Class Elements



  • public final class Elements
    extends Object
    Exposes elements of a module so they can be inspected, validated or rewritten.
    Since:
    2.0
    Author:
    jessewilson@google.com (Jesse Wilson)
    • Constructor Detail

      • Elements

        public Elements()
    • Method Detail

      • getElements

        public static List<Element> getElements(Module... modules)
        Records the elements executed by modules.
      • getElements

        public static List<Element> getElements(Stage stage,
                                                Module... modules)
        Records the elements executed by modules.
      • getElements

        public static List<Element> getElements(Iterable<? extends Module> modules)
        Records the elements executed by modules.
      • getModule

        public static Module getModule(Iterable<? extends Element> elements)
        Returns the module composed of elements.

Copyright © 2006–2020 Google, Inc.. All rights reserved.