Interface AnnotationEntryWriter

All Known Implementing Classes:
FactoryAutoProcessingEntry.FactoryAnnotationEntryWriter, ProvidesAutoProcessingEntry.ProvidesAnnotationEntryWriter
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface @API(status=STABLE, since="2.0") public interface AnnotationEntryWriter
A writer for an entry in an autoconfiguration file. A writer instance is constructed by a processing entry and will be called to write the known data of the entry to the final data stream.
Since:
2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    emitEntry(@NotNull DataOutputStream target)
    Emits the data of this binding to the given data stream.
  • Method Details

    • emitEntry

      void emitEntry(@NotNull @NotNull DataOutputStream target) throws IOException
      Emits the data of this binding to the given data stream.
      Parameters:
      target - the stream to write the known data to.
      Throws:
      IOException - if an i/o exception occurs.