Skip to content

Commit a645030

Browse files
committedMay 7, 2023
stub for getConstructors()
1 parent c91a621 commit a645030

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎src/de/inetsoftware/jwebassembly/module/nativecode/ReplacementForClass.java

+8
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,14 @@ public String getCanonicalName() {
448448
@WasmTextCode( "unreachable" ) // TODO
449449
public native Method[] getMethods();
450450

451+
/**
452+
* Returns an array containing {@code Constructor} objects reflecting
453+
* all the public constructors of the class represented by this
454+
* {@code Class} object.
455+
*/
456+
@WasmTextCode( "unreachable" ) // TODO
457+
public native Constructor<?>[] getConstructors();
458+
451459
/**
452460
* Replacement of the Java method getMethod()
453461
*/

0 commit comments

Comments
 (0)