Class BytecodeConfig.Builder

java.lang.Object
com.oracle.truffle.api.bytecode.BytecodeConfig.Builder
Enclosing class:
BytecodeConfig

public static class BytecodeConfig.Builder extends Object
Builder to generate a BytecodeConfig programmatically.
Since:
24.2
  • Method Details

    • addSource

      public BytecodeConfig.Builder addSource()
      Sets whether to materialize sources.
      Since:
      24.2
    • addTag

      public BytecodeConfig.Builder addTag(Class<? extends Tag> tag)
      Sets a specific set of tags to be materialized.
      Since:
      24.2
    • addInstrumentation

      public BytecodeConfig.Builder addInstrumentation(Class<?> instrumentation)
      Sets a specific set of instrumentations to be materialized.
      Since:
      24.2
    • build

      public BytecodeConfig build()
      Builds the config.
      Since:
      24.2