Class JarTreeShakeRootClassBuildItem

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

public final class JarTreeShakeRootClassBuildItem extends io.quarkus.builder.item.MultiBuildItem
This build item is meant to be internal to JarTreeShakeProcessor, in a sense it's produced and consumed by it.

Declares a class that must be treated as a root for jar tree-shake reachability analysis. Any class registered through this build item will not be removed by the tree-shaker, and all classes reachable from it will also be preserved.

  • Constructor Details

    • JarTreeShakeRootClassBuildItem

      public JarTreeShakeRootClassBuildItem(String className)
  • Method Details

    • getClassName

      public String getClassName()