Interface MetadataGenerator


public interface MetadataGenerator
  • Method Summary

    Modifier and Type
    Method
    Description
    generateMetadata(MetadataGeneratorContext context, org.teavm.model.MethodReference method)
    Generates resources, that will be available at runtime.
  • Method Details

    • generateMetadata

      Resource generateMetadata(MetadataGeneratorContext context, org.teavm.model.MethodReference method)

      Generates resources, that will be available at runtime.

      Parameters:
      context - context that contains useful compile-time information.
      method - method which will be used to access the generated resources at run time.
      Returns:
      resource to be attached to method at run time.