diff --git a/src/de/inetsoftware/jwebassembly/module/TypeManager.java b/src/de/inetsoftware/jwebassembly/module/TypeManager.java index 2ac7f25..7100ab3 100644 --- a/src/de/inetsoftware/jwebassembly/module/TypeManager.java +++ b/src/de/inetsoftware/jwebassembly/module/TypeManager.java @@ -18,14 +18,11 @@ package de.inetsoftware.jwebassembly.module; import java.io.IOException; import java.util.ArrayList; -import java.util.Collection; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; -import javax.annotation.Nonnull; - import de.inetsoftware.classparser.ClassFile; import de.inetsoftware.classparser.ClassFile.Type; import de.inetsoftware.classparser.ConstantClass; @@ -86,31 +83,6 @@ public class TypeManager { } } - /** - * Use the type in the output. - * - * @param type - * the reference to a type - * @param id - * the id in the type section of the wasm - * @param fields - * the fields of the type - */ - void useType( StructType type, int id, List fields ) { - type.code = id; - type.fields = fields; - } - - /** - * Get the registered types in numeric order. - * - * @return the types - */ - @Nonnull - Collection getTypes() { - return structTypes.values(); - } - /** * Get the StructType. If needed an instance is created. *