Class AnnotationMetadataWriter

java.lang.Object
io.micronaut.inject.annotation.AnnotationMetadataWriter

@Internal public class AnnotationMetadataWriter extends Object
Responsible for writing class files that are instances of AnnotationMetadataProvider.
Since:
1.0
Author:
Graeme Rocher, Denis Stepanov
  • Constructor Details

    • AnnotationMetadataWriter

      public AnnotationMetadataWriter()
  • Method Details

    • write

      public static byte[] write(String className, AnnotationMetadata annotationMetadata)
      Create a new AnnotationMetadataProvider class that is including the annotation metadata.
      Parameters:
      className - The class name
      annotationMetadata - The metadata
      Returns:
      The generated bytecode