Class ProvidesAutoAnnotationReader
java.lang.Object
dev.derklaro.aerogel.auto.runtime.AbstractAutoAnnotationReader
dev.derklaro.aerogel.auto.internal.runtime.ProvidesAutoAnnotationReader
- All Implemented Interfaces:
AutoAnnotationReader
The runtime reader for emitted provides auto annotation entries.
- Since:
- 2.0
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new provides auto annotation reader instance. -
Method Summary
Modifier and TypeMethodDescription@NotNull Collection<dev.derklaro.aerogel.binding.BindingConstructor>readBindings(@NotNull ClassLoader sourceLoader, @NotNull DataInputStream source) Constructs all bindings which were emitted by the associated processing entry during compile time.Methods inherited from class dev.derklaro.aerogel.auto.runtime.AbstractAutoAnnotationReader
name
-
Constructor Details
-
ProvidesAutoAnnotationReader
public ProvidesAutoAnnotationReader()Constructs a new provides auto annotation reader instance.
-
-
Method Details
-
readBindings
@NotNull public @NotNull Collection<dev.derklaro.aerogel.binding.BindingConstructor> readBindings(@NotNull @NotNull ClassLoader sourceLoader, @NotNull @NotNull DataInputStream source) throws IOException Constructs all bindings which were emitted by the associated processing entry during compile time.- Parameters:
sourceLoader- the class loader which should be used when needing to load classes.source- the data stream to read the binding data from.- Returns:
- the constructed bindings based on the data stream.
- Throws:
IOException- if an I/O error occurs.
-