Class GeneratedBreadcrumbs

java.lang.Object
com.blackbuild.klum.ast.runtime.generated.GeneratedBreadcrumbs

public final class GeneratedBreadcrumbs extends Object
Generated-code linkage for construction-path instrumentation emitted by the DSL transformation.

This is not a supported handwritten client API or extension SPI. Generated factories and Builders register their verb provider here, while generated collection and Cluster closures use the scoped breadcrumb operation. The collector and interceptor mechanics remain runtime-internal.

  • Method Details

    • $klum$registerVerbProvider

      public static void $klum$registerVerbProvider(Class<?> type)
      Registers one generated factory or Builder class as a construction-path verb provider.
    • $klum$withBreadcrumb

      public static <T> T $klum$withBreadcrumb(String verb, String type, String qualifier, groovy.lang.Closure<T> action)
      Executes a generated nested factory closure inside one construction-path breadcrumb scope.