| Package | Description |
|---|---|
| software.amazon.jsii |
jsii Runtime for Java.
|
| Modifier and Type | Field and Description |
|---|---|
static NativeType<Void> |
NativeType.VOID
A
NativeType representation for `void`. |
| Modifier and Type | Method and Description |
|---|---|
static <T> NativeType<T> |
NativeType.forClass(Class<T> simpleType)
|
static <T> NativeType<T> |
NativeType.forType(Type type)
Creates a
NativeType for the given Java type description. |
static <T> NativeType<List<T>> |
NativeType.listOf(NativeType<T> elementType)
|
static <T> NativeType<Map<String,T>> |
NativeType.mapOf(NativeType<T> elementType)
|
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
JsiiObject.jsiiAsyncCall(String method,
NativeType<T> nativeType,
Object... args)
Calls an async method on the object.
|
protected <T> T |
JsiiObject.jsiiCall(String method,
NativeType<T> nativeType,
Object... args)
Calls a JavaScript method on the object.
|
protected <T> T |
JsiiObject.jsiiGet(String property,
NativeType<T> type)
Gets a property value from the object.
|
protected static <T> T |
JsiiObject.jsiiStaticCall(Class<?> nativeClass,
String method,
NativeType<T> nativeType,
Object... args)
Calls a static method.
|
protected static <T> T |
JsiiObject.jsiiStaticGet(Class<?> nativeClass,
String property,
NativeType<T> type)
Returns the value of a static property.
|
static <T> NativeType<List<T>> |
NativeType.listOf(NativeType<T> elementType)
|
static <T> NativeType<Map<String,T>> |
NativeType.mapOf(NativeType<T> elementType)
|
static <T> T |
JsiiObjectMapper.treeToValue(com.fasterxml.jackson.databind.JsonNode tree,
NativeType<T> valueType)
Similar to calling JsiiObjectMapper.INSTANCE.treeToValue, but handles a null JsonNode argument
well, and throws JsiiException instead of JsonProcessingException.
|
Copyright © 2020 Amazon Web Services. All rights reserved.