Class FactoryAutoProcessingEntry.FactoryAnnotationEntryWriter
java.lang.Object
dev.derklaro.aerogel.auto.internal.processing.FactoryAutoProcessingEntry.FactoryAnnotationEntryWriter
- All Implemented Interfaces:
AnnotationEntryWriter
- Enclosing class:
- FactoryAutoProcessingEntry
@API(status=INTERNAL,
since="2.0")
private static final class FactoryAutoProcessingEntry.FactoryAnnotationEntryWriter
extends Object
implements AnnotationEntryWriter
A writer which emits annotation data of factory methods.
- Since:
- 2.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFactoryAnnotationEntryWriter(@NotNull String methodName, @NotNull String enclosingClass, @NotNull List<String> methodArguments) Constructs a new factory annotation writer instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidemitEntry(@NotNull DataOutputStream target) Emits the data of this binding to the given data stream.
-
Field Details
-
methodName
-
enclosingClass
-
methodArguments
-
-
Constructor Details
-
FactoryAnnotationEntryWriter
public FactoryAnnotationEntryWriter(@NotNull @NotNull String methodName, @NotNull @NotNull String enclosingClass, @NotNull @NotNull List<String> methodArguments) Constructs a new factory annotation writer instance.- Parameters:
methodName- the name of the factory method.enclosingClass- the class which declares the factory method.methodArguments- the argument types that the factory method takes.
-
-
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.
-