Class BytecodeRecorderConstantDefinitionBuildItem

java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
io.quarkus.deployment.builditem.BytecodeRecorderConstantDefinitionBuildItem

public final class BytecodeRecorderConstantDefinitionBuildItem extends MultiBuildItem
The definition of a constant that can be injected into recorders via their @Inject-annotated constructor. Compared to simply passing the value to a recorder proxy, this build item allows for injecting values into recorders without introducing new dependencies from build steps that use the recorder to build steps that create the constant value. This can be useful in complex dependency graphs.
  • Constructor Details

    • BytecodeRecorderConstantDefinitionBuildItem

      public BytecodeRecorderConstantDefinitionBuildItem(Class<T> type, T value)
  • Method Details