Class ArraySyntheticFunctionName
- java.lang.Object
-
- de.inetsoftware.jwebassembly.module.FunctionName
-
- de.inetsoftware.jwebassembly.module.SyntheticFunctionName
-
- de.inetsoftware.jwebassembly.module.ArraySyntheticFunctionName
-
- Direct Known Subclasses:
JavaScriptSyntheticFunctionName
,WatCodeSyntheticFunctionName
public abstract class ArraySyntheticFunctionName extends SyntheticFunctionName
Synthetic/dynamic method with a signature as array of types.
-
-
Field Summary
Fields Modifier and Type Field Description private AnyType[]
signatureTypes
-
Fields inherited from class de.inetsoftware.jwebassembly.module.FunctionName
className, fullName, methodName, signature, signatureName
-
-
Constructor Summary
Constructors Constructor Description ArraySyntheticFunctionName(java.lang.String className, java.lang.String name, AnyType... signatureTypes)
Create a new instance.ArraySyntheticFunctionName(java.lang.String className, java.lang.String name, java.lang.String signature, AnyType... signatureTypes)
Create a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<AnyType>
getSignature(TypeManager types)
Get the method signature iterator for parameter and return values.-
Methods inherited from class de.inetsoftware.jwebassembly.module.SyntheticFunctionName
getAnnotation, getCodeBuilder, hasWasmCode, istStatic
-
Methods inherited from class de.inetsoftware.jwebassembly.module.FunctionName
equals, hashCode
-
-
-
-
Field Detail
-
signatureTypes
private final AnyType[] signatureTypes
-
-
Constructor Detail
-
ArraySyntheticFunctionName
public ArraySyntheticFunctionName(java.lang.String className, java.lang.String name, AnyType... signatureTypes)
Create a new instance.- Parameters:
className
- the Java class namename
- the function namesignatureTypes
- the method signature, first the parameters, then null and the the return types
-
ArraySyntheticFunctionName
public ArraySyntheticFunctionName(java.lang.String className, java.lang.String name, java.lang.String signature, AnyType... signatureTypes)
Create a new instance.- Parameters:
className
- the Java class namename
- the function namesignature
- the string signaturesignatureTypes
- the method signature, first the parameters, then null and the the return types
-
-
Method Detail
-
getSignature
public java.util.Iterator<AnyType> getSignature(TypeManager types)
Get the method signature iterator for parameter and return values.- Overrides:
getSignature
in classFunctionName
- Parameters:
types
- the type manager- Returns:
- the iterator
-
-