Package org.teavm.platform.plugin
Class DefaultMetadataGeneratorContext
java.lang.Object
org.teavm.platform.plugin.DefaultMetadataGeneratorContext
- All Implemented Interfaces:
org.teavm.common.ServiceRepository,MetadataGeneratorContext
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultMetadataGeneratorContext(org.teavm.model.ClassReaderSource classSource, org.teavm.parsing.resource.ResourceProvider resourceProvider, ClassLoader classLoader, Properties properties, org.teavm.common.ServiceRepository services) -
Method Summary
Modifier and TypeMethodDescriptionGets the class loader that is used by the compiler.org.teavm.model.ClassReaderSourceGets the collection of all classes that were reached by the dependency analyzer.Gets properties that were specified toTeaVM.org.teavm.parsing.resource.ResourceProvider<T> TgetService(Class<T> type)
-
Constructor Details
-
DefaultMetadataGeneratorContext
public DefaultMetadataGeneratorContext(org.teavm.model.ClassReaderSource classSource, org.teavm.parsing.resource.ResourceProvider resourceProvider, ClassLoader classLoader, Properties properties, org.teavm.common.ServiceRepository services)
-
-
Method Details
-
getResourceProvider
public org.teavm.parsing.resource.ResourceProvider getResourceProvider()- Specified by:
getResourceProviderin interfaceMetadataGeneratorContext
-
getClassSource
public org.teavm.model.ClassReaderSource getClassSource()Description copied from interface:MetadataGeneratorContextGets the collection of all classes that were reached by the dependency analyzer.- Specified by:
getClassSourcein interfaceMetadataGeneratorContext- Returns:
- class source.
-
getClassLoader
Description copied from interface:MetadataGeneratorContextGets the class loader that is used by the compiler.- Specified by:
getClassLoaderin interfaceMetadataGeneratorContext- Returns:
- class loader.
-
getProperties
Description copied from interface:MetadataGeneratorContextGets properties that were specified toTeaVM.- Specified by:
getPropertiesin interfaceMetadataGeneratorContext- Returns:
- properties.
-
getService
- Specified by:
getServicein interfaceorg.teavm.common.ServiceRepository
-