Class GeneratedClassBuildItem

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

public final class GeneratedClassBuildItem extends MultiBuildItem
  • Field Details

    • applicationClass

      final boolean applicationClass
    • name

      final String name
    • binaryName

      String binaryName
    • internalName

      String internalName
    • classData

      final byte[] classData
    • source

      final String source
  • Constructor Details

    • GeneratedClassBuildItem

      public GeneratedClassBuildItem(boolean applicationClass, String name, byte[] classData)
    • GeneratedClassBuildItem

      public GeneratedClassBuildItem(boolean applicationClass, String name, byte[] classData, String source)
  • Method Details

    • isApplicationClass

      public boolean isApplicationClass()
    • getName

      @Deprecated(forRemoval=true) public String getName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      This method may return the binary name, the internal name, or a hybrid thereof and should not be used. Use binaryName() or internalName() instead.
      Returns a name for this class.
      Returns:
      a name for this class
    • binaryName

      public String binaryName()
      Returns the binary name of the class, which is delimited by . characters.
      Returns:
      the binary name of the class, which is delimited by . characters
    • internalName

      public String internalName()
      Returns the internal name of the class, which is delimited by / characters.
      Returns:
      the internal name of the class, which is delimited by / characters
    • getClassData

      public byte[] getClassData()
    • getSource

      public String getSource()
    • toString

      public String toString()
      Overrides:
      toString in class Object