Package io.micronaut.inject.annotation
Class AnnotationMetadataWriter
java.lang.Object
io.micronaut.inject.annotation.AnnotationMetadataWriter
Responsible for writing class files that are instances of
AnnotationMetadataProvider
.- Since:
- 1.0
- Author:
- Graeme Rocher, Denis Stepanov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
write
(String className, AnnotationMetadata annotationMetadata) Create a newAnnotationMetadataProvider
class that is including the annotation metadata.
-
Constructor Details
-
AnnotationMetadataWriter
public AnnotationMetadataWriter()
-
-
Method Details
-
write
Create a newAnnotationMetadataProvider
class that is including the annotation metadata.- Parameters:
className
- The class nameannotationMetadata
- The metadata- Returns:
- The generated bytecode
-