Class ValueTypeParser
java.lang.Object
de.inetsoftware.jwebassembly.wasm.ValueTypeParser
Parser for a Java signature. This can be a method signature or a signature of a field.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionValueTypeParser
(String javaSignature, TypeManager types) Create a new parser. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Field Details
-
sig
-
idx
private int idx -
types
-
-
Constructor Details
-
ValueTypeParser
Create a new parser.- Parameters:
javaSignature
- the Java signaturetypes
- the optional type manager
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
Get the next value in the signature or null if the parameter are end or the signature is end. -
next
Get the next value in the signature or null if the parameter are end or the signature is end.- Parameters:
isArray
- true, if this is an element type of an array- Returns:
- next type or null
-