Class ForceNonWeakReflectiveClassBuildItem

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

public final class ForceNonWeakReflectiveClassBuildItem extends MultiBuildItem
Forces classes that have been registered for reflection using weak semantics, to revert to normal reflection registration semantics. Essentially if this build item is used for a class that has been registered with ReflectiveClassBuildItem, the weak field of that class is effectively false, no matter what value was supplied when creating ReflectiveClassBuildItem
  • Constructor Details

    • ForceNonWeakReflectiveClassBuildItem

      public ForceNonWeakReflectiveClassBuildItem(String className)
  • Method Details

    • getClassName

      public String getClassName()