mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +01:00
Stub Code for isAssignableFrom() #29
This commit is contained in:
parent
cc217841cb
commit
15031b3822
@ -207,6 +207,16 @@ class ReplacementForClass<T> {
|
|||||||
@WasmTextCode( "unreachable" ) // TODO
|
@WasmTextCode( "unreachable" ) // TODO
|
||||||
public native boolean isInstance( Object obj );
|
public native boolean isInstance( Object obj );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Replacement of the Java method isAssignableFrom()
|
||||||
|
*
|
||||||
|
* @param cls
|
||||||
|
* the class to check
|
||||||
|
* @return true, if type {@code cls} can be assigned to objects of this class
|
||||||
|
*/
|
||||||
|
@WasmTextCode( "unreachable" ) // TODO
|
||||||
|
public native boolean isAssignableFrom( Class<?> cls );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Replacement of the Java method isArray()
|
* Replacement of the Java method isArray()
|
||||||
* @return {@code true} if this object represents an array class;
|
* @return {@code true} if this object represents an array class;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user