| Package | Description |
|---|---|
| org.teavm.platform.metadata |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ResourceArray<T extends Resource> |
interface |
ResourceMap<T extends Resource> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BooleanResource |
interface |
ByteResource |
interface |
DoubleResource |
interface |
FloatResource |
interface |
IntResource |
interface |
ResourceArray<T extends Resource> |
interface |
ResourceMap<T extends Resource> |
interface |
ShortResource |
interface |
StaticFieldResource |
interface |
StringResource |
| Modifier and Type | Method and Description |
|---|---|
<T extends Resource> |
MetadataGeneratorContext.createResource(Class<T> resourceType)
Creates a new resource of the given type.
|
<T extends Resource> |
MetadataGeneratorContext.createResourceArray()
Creates a new resource array.
|
<T extends Resource> |
MetadataGeneratorContext.createResourceMap()
Creates a new resource map.
|
| Modifier and Type | Method and Description |
|---|---|
Resource |
MetadataGenerator.generateMetadata(MetadataGeneratorContext context,
MethodReference method)
Generates resources, that will be available at runtime.
|
| Modifier and Type | Method and Description |
|---|---|
ResourceTypeDescriptor |
MetadataGeneratorContext.getTypeDescriptor(Class<? extends Resource> type) |
Copyright © 2019. All rights reserved.