public static enum HostAccess.MutableTargetMapping extends Enum<HostAccess.MutableTargetMapping>
Value.as(Class)
. The mappings map guest object traits to host object types.Enum.EnumDesc<E extends Enum<E>>
Enum Constant and Description |
---|
ARRAY_TO_JAVA_LIST
Enables default mapping of guest object arrays to host object
List . |
EXECUTABLE_TO_JAVA_INTERFACE
Enables default mapping of executable guest objects to a
FunctionalInterface . |
HASH_TO_JAVA_MAP
Enables default mapping of guest object hashes to host object
Map . |
ITERABLE_TO_JAVA_ITERABLE
Enables default mapping of guest object iterables to host object
Iterable . |
ITERATOR_TO_JAVA_ITERATOR
Enables default mapping of guest object iterators to host object
Iterator . |
MEMBERS_TO_JAVA_INTERFACE
Enables default mapping of guest objects with members to a Java interface.
|
MEMBERS_TO_JAVA_MAP
Enables default mapping of guest objects with members to
Map . |
Modifier and Type | Method and Description |
---|---|
static HostAccess.MutableTargetMapping |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HostAccess.MutableTargetMapping[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostAccess.MutableTargetMapping ARRAY_TO_JAVA_LIST
List
.public static final HostAccess.MutableTargetMapping ITERATOR_TO_JAVA_ITERATOR
Iterator
.public static final HostAccess.MutableTargetMapping ITERABLE_TO_JAVA_ITERABLE
Iterable
.public static final HostAccess.MutableTargetMapping HASH_TO_JAVA_MAP
Map
.public static final HostAccess.MutableTargetMapping MEMBERS_TO_JAVA_MAP
Map
.public static final HostAccess.MutableTargetMapping MEMBERS_TO_JAVA_INTERFACE
public static final HostAccess.MutableTargetMapping EXECUTABLE_TO_JAVA_INTERFACE
FunctionalInterface
.public static HostAccess.MutableTargetMapping[] values()
public static HostAccess.MutableTargetMapping valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null