public class JavaScriptSyntheticFunctionName extends ArraySyntheticFunctionName
className, fullName, methodName, signature, signatureName
Constructor and Description |
---|
JavaScriptSyntheticFunctionName(java.lang.String module,
java.lang.String functionName,
java.util.function.Supplier<java.lang.String> js,
AnyType... signature)
Create a synthetic function which based on imported, dynamic generated JavaScript.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.function.Function<java.lang.String,java.lang.Object> |
getAnnotation()
Get the synthetic annotation of a import function.
|
protected boolean |
hasWasmCode()
If this function has WASM code or if this function is a import with JavaScript code.
|
getSignature
getCodeBuilder
equals, hashCode
public JavaScriptSyntheticFunctionName(java.lang.String module, java.lang.String functionName, java.util.function.Supplier<java.lang.String> js, AnyType... signature)
module
- the module namefunctionName
- the name of the functionjs
- the dynamic JavaScript as a lambda expressionsignature
- the types of the signatureprotected boolean hasWasmCode()
hasWasmCode
in class SyntheticFunctionName
protected java.util.function.Function<java.lang.String,java.lang.Object> getAnnotation()
getAnnotation
in class SyntheticFunctionName