Interface MetadataGeneratorContext

All Superinterfaces:
org.teavm.common.ServiceRepository
All Known Implementing Classes:
DefaultMetadataGeneratorContext

public interface MetadataGeneratorContext extends org.teavm.common.ServiceRepository

Represents context with compile-time information, that is useful for MetadataGenerator. This context is provided by the compiler infrastructure.

  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the class loader that is used by the compiler.
    org.teavm.model.ClassReaderSource
    Gets the collection of all classes that were reached by the dependency analyzer.
    Gets properties that were specified to TeaVM.
    org.teavm.parsing.resource.ResourceProvider
     

    Methods inherited from interface org.teavm.common.ServiceRepository

    getService
  • Method Details

    • getClassSource

      org.teavm.model.ClassReaderSource getClassSource()
      Gets the collection of all classes that were reached by the dependency analyzer.
      Returns:
      class source.
    • getClassLoader

      ClassLoader getClassLoader()
      Gets the class loader that is used by the compiler.
      Returns:
      class loader.
    • getResourceProvider

      org.teavm.parsing.resource.ResourceProvider getResourceProvider()
    • getProperties

      Properties getProperties()
      Gets properties that were specified to TeaVM.
      Returns:
      properties.