Class ProvidesAutoProcessingEntry.ProvidesAnnotationEntryWriter
java.lang.Object
dev.derklaro.aerogel.auto.internal.processing.ProvidesAutoProcessingEntry.ProvidesAnnotationEntryWriter
- All Implemented Interfaces:
AnnotationEntryWriter
- Enclosing class:
- ProvidesAutoProcessingEntry
@API(status=INTERNAL,
since="2.0")
private static final class ProvidesAutoProcessingEntry.ProvidesAnnotationEntryWriter
extends Object
implements AnnotationEntryWriter
A writer which emits annotation data of provides annotations.
- Since:
- 2.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProvidesAnnotationEntryWriter(@NotNull String bindingName, @NotNull Set<String> bindings) Constructs a new provides annotation writer instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidemitEntry(@NotNull DataOutputStream target) Emits the data of this binding to the given data stream.
-
Field Details
-
bindingName
-
bindings
-
-
Constructor Details
-
ProvidesAnnotationEntryWriter
public ProvidesAnnotationEntryWriter(@NotNull @NotNull String bindingName, @NotNull @NotNull Set<String> bindings) Constructs a new provides annotation writer instance.- Parameters:
bindingName- the name of the class to bind to.bindings- the bindings which should get bound to the given binding class.
-
-
Method Details
-
emitEntry
Emits the data of this binding to the given data stream.- Specified by:
emitEntryin interfaceAnnotationEntryWriter- Parameters:
target- the stream to write the known data to.- Throws:
IOException- if an i/o exception occurs.
-