Class NamedStorageType
java.lang.Object
de.inetsoftware.jwebassembly.wasm.NamedStorageType
A ValueType with a name for debug information.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionNamedStorageType
(ConstantRef ref, TypeManager types) Create a new instanceNamedStorageType
(AnyType type, String className, String name) Create a new instanceNamedStorageType
(String className, FieldInfo field, TypeManager types) Create a new instanceprivate
NamedStorageType
(String type, String className, String name, TypeManager types) Create a new instance -
Method Summary
-
Field Details
-
type
-
className
-
name
-
-
Constructor Details
-
NamedStorageType
Create a new instance- Parameters:
className
- the parent className of the fieldfield
- the FieldInfotypes
- the type manager
-
NamedStorageType
Create a new instance- Parameters:
ref
- the referencetypes
- the type manager
-
NamedStorageType
Create a new instance- Parameters:
type
- the typeclassName
- the class namename
- the nametypes
- the type manager
-
NamedStorageType
Create a new instance- Parameters:
type
- the typeclassName
- the class name like java/lang/Objectname
- the name
-
-
Method Details
-
getType
Get the type.- Returns:
- the type
-
geClassName
Get the class name in which the filed is define.- Returns:
- the field
-
getName
Get the global unique name of the field. See https://github.com/lars-t-hansen/moz-gc-experiments/blob/master/version2.md#struct-and-ref-types- Returns:
- the name
-
hashCode
public int hashCode() -
equals
-