public class JsiiObject extends Object implements JsiiSerializable
| Modifier and Type | Class and Description |
|---|---|
static class |
JsiiObject.InitializationMode
Used as a marker for bypassing native ctor chain.
|
| Modifier | Constructor and Description |
|---|---|
protected |
JsiiObject(JsiiObject.InitializationMode initializationMode)
A special constructor that allows creating wrapper objects while bypassing the normal constructor
chain.
|
protected |
JsiiObject(JsiiObjectRef objRef)
Used to construct a JSII object with a reference to an existing managed JSII node object.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
jsiiAsyncCall(String method,
Class<T> returnType,
Object... args)
Deprecated.
|
protected <T> T |
jsiiAsyncCall(String method,
NativeType<T> nativeType,
Object... args)
Deprecated.
|
protected <T> T |
jsiiCall(String method,
Class<T> returnType,
Object... args)
Deprecated.
|
protected <T> T |
jsiiCall(String method,
NativeType<T> nativeType,
Object... args)
Deprecated.
|
protected <T> T |
jsiiGet(String property,
Class<T> type)
Deprecated.
use
Kernel.get(Object, String, NativeType) instead |
protected <T> T |
jsiiGet(String property,
NativeType<T> type)
Deprecated.
use
Kernel.get(Object, String, NativeType) instead |
protected void |
jsiiSet(String property,
@Nullable Object value)
Deprecated.
Use
Kernel.set(Object, String, Object) instead |
protected static <T> T |
jsiiStaticCall(Class<?> nativeClass,
String method,
Class<T> returnType,
Object... args)
Deprecated.
|
protected static <T> T |
jsiiStaticCall(Class<?> nativeClass,
String method,
NativeType<T> nativeType,
Object... args)
Calls a static method.
|
protected static <T> T |
jsiiStaticGet(Class<?> nativeClass,
String property,
Class<T> type)
Deprecated.
use
jsiiStaticGet(Class, String, NativeType) instead |
protected static <T> T |
jsiiStaticGet(Class<?> nativeClass,
String property,
NativeType<T> type)
Returns the value of a static property.
|
protected static void |
jsiiStaticSet(Class<?> nativeClass,
String property,
@Nullable Object value)
Sets a value for a static property.
|
protected static void |
jsiiStaticSet(JsiiEngine engine,
Class<?> nativeClass,
String property,
@Nullable Object value)
Sets a value for a static property.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait$jsii$toJsonprotected JsiiObject(JsiiObject.InitializationMode initializationMode)
initializationMode - Must always be set to "JSII".@Internal protected JsiiObject(JsiiObjectRef objRef)
objRef - Reference to existing managed JSII node object.@Nullable @Deprecated @Internal protected final <T> T jsiiCall(String method, Class<T> returnType, @Nullable Object... args)
Kernel.call(Object, String, NativeType, Object...) insteadT - Java type for the return value.method - The name of the method.returnType - The return type.args - Method arguments.@Nullable @Deprecated @Internal protected final <T> T jsiiCall(String method, NativeType<T> nativeType, @Nullable Object... args)
Kernel.call(Object, String, NativeType, Object...) insteadT - Java type for the return value.method - The name of the method.nativeType - The return type.args - Method arguments.@Nullable @Deprecated @Internal protected static <T> T jsiiStaticCall(Class<?> nativeClass, String method, Class<T> returnType, @Nullable Object... args)
jsiiStaticCall(Class, String, NativeType, Object...) insteadT - Return type.nativeClass - The java class.method - The method to call.returnType - The return type.args - The method arguments.@Nullable @Internal protected static <T> T jsiiStaticCall(Class<?> nativeClass, String method, NativeType<T> nativeType, @Nullable Object... args)
T - Return type.nativeClass - The java class.method - The method to call.nativeType - The return type.args - The method arguments.@Nullable @Deprecated @Internal protected final <T> T jsiiAsyncCall(String method, Class<T> returnType, @Nullable Object... args)
Kernel.asyncCall(Object, String, NativeType, Object...) insteadT - Java type for the return value.method - The name of the method.returnType - The return type.args - Method arguments.@Nullable @Internal protected final <T> T jsiiAsyncCall(String method, NativeType<T> nativeType, @Nullable Object... args)
Kernel.asyncCall(Object, String, NativeType, Object...) insteadT - Java type for the return value.method - The name of the method.nativeType - The return type.args - Method arguments.@Nullable @Deprecated @Internal protected final <T> T jsiiGet(String property, Class<T> type)
Kernel.get(Object, String, NativeType) insteadT - The Java type of the property.property - The property name.type - The Java type of the property.@Nullable @Deprecated @Internal protected final <T> T jsiiGet(String property, NativeType<T> type)
Kernel.get(Object, String, NativeType) insteadT - The Java type of the property.property - The property name.type - The Java type of the property.@Nullable @Deprecated @Internal protected static <T> T jsiiStaticGet(Class<?> nativeClass, String property, Class<T> type)
jsiiStaticGet(Class, String, NativeType) insteadT - Return typenativeClass - The java class.property - The name of the property.type - The expected java return type.@Nullable @Internal protected static <T> T jsiiStaticGet(Class<?> nativeClass, String property, NativeType<T> type)
T - Return typenativeClass - The java class.property - The name of the property.type - The expected java return type.@Deprecated @Internal protected final void jsiiSet(String property, @Nullable @Nullable Object value)
Kernel.set(Object, String, Object) insteadproperty - The name of the property.value - The property value.@Internal protected static void jsiiStaticSet(Class<?> nativeClass, String property, @Nullable @Nullable Object value)
nativeClass - The java class.property - The name of the propertyvalue - The value@Internal protected static void jsiiStaticSet(JsiiEngine engine, Class<?> nativeClass, String property, @Nullable @Nullable Object value)
engine - The JsiiEngine to use.nativeClass - The java class.property - The name of the propertyvalue - The valueCopyright © 2022 Amazon Web Services. All rights reserved.