Class AllocationEventFilter.Builder

java.lang.Object
com.oracle.truffle.api.instrumentation.AllocationEventFilter.Builder
Enclosing class:
AllocationEventFilter

public class AllocationEventFilter.Builder extends Object
A builder of AllocationEventFilter. Use methods in this class to set the filter parameters.
Since:
0.27
  • Method Details

    • languages

      public AllocationEventFilter.Builder languages(LanguageInfo... languages)
      Specify languages that are instrumented for allocations of guest language values. Initially the filter accepts any language. Multiple calls to this method rewrite the set of languages.
      Since:
      0.27
    • build

      public AllocationEventFilter build()
      Create an instance of AllocationEventFilter based on the current setup of this builder.
      Since:
      0.27