Class ElementSection.Builder

java.lang.Object
com.dylibso.chicory.wasm.types.ElementSection.Builder
Enclosing class:
ElementSection

public static final class ElementSection.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • addElement

      public ElementSection.Builder addElement(Element element)
      Add an element definition to this section.
      Parameters:
      element - the element to add to this section (must not be null)
      Returns:
      the Builder
    • build

      public ElementSection build()