package io.quarkus.deployment.builditem;

import io.quarkus.builder.item.SimpleBuildItem;
import io.quarkus.runtime.QuarkusApplication;

public final class QuarkusApplicationClassBuildItem extends SimpleBuildItem {
    private final String className;

    public QuarkusApplicationClassBuildItem(Class<? extends QuarkusApplication> quarkusApplicationClass) {
        this.className = quarkusApplicationClass.getName();
    }

    public String getClassName() {
        return className;
    }
}

@@ -419,16 +419,159 @@
 %0A    %7D%0A%0A
+    public QuarkusApplicationClassBuildItem(String quarkusApplicationClassName) %7B%0A        this.className = quarkusApplicationClassName;%0A    %7D%0A%0A
     publ

Allow passing a string to QuarkusApplicationClassBuildItem