Class FunctionName
java.lang.Object
de.inetsoftware.jwebassembly.module.FunctionName
- Direct Known Subclasses:
SyntheticFunctionName
Described the name of WebAssembly function.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal String
The Java class name like "java/lang/String".final String
The name in the WebAssembly.final String
The method name like "hashCode".final String
The signature part.final String
The Java signature which is used in Java byte code to reference the method call. -
Constructor Summary
ConstructorsConstructorDescriptionFunctionName
(Member methodOrField) Create a new instance from the given reference in the ConstantPool or parsed method.FunctionName
(Member methodOrField, String signature) Create a new instance from the given reference in the ConstantPool and a special signature.FunctionName
(String signatureName) Create a new instance from the given valuesFunctionName
(String className, String methodName, String signature) Create a new instance from the given values -
Method Summary
Modifier and TypeMethodDescriptionboolean
getSignature
(TypeManager types) Get the method signature iterator for parameter and return values.int
hashCode()
-
Field Details
-
className
The Java class name like "java/lang/String". -
methodName
The method name like "hashCode". -
fullName
The name in the WebAssembly. For example: "java/lang/String.hashCode" -
signatureName
The Java signature which is used in Java byte code to reference the method call. For example: "java/lang/String.hashCode()I" -
signature
The signature part. For example: "()I"
-
-
Constructor Details
-
FunctionName
Create a new instance from the given reference in the ConstantPool or parsed method.- Parameters:
methodOrField
- the Java method
-
FunctionName
Create a new instance from the given reference in the ConstantPool and a special signature.- Parameters:
methodOrField
- the Java methodsignature
- the Java signature
-
FunctionName
Create a new instance from the given values- Parameters:
className
- the Java class namemethodName
- the Java method namesignature
- the Java signature
-
FunctionName
Create a new instance from the given values- Parameters:
signatureName
- the full Java method signature like "com/foo/Bar.method()V"
-
-
Method Details