diff --git a/docs/src/main/asciidoc/writing-extensions.adoc b/docs/src/main/asciidoc/writing-extensions.adoc index f185a27b431d3..ba5bb9eacc7f1 100644 --- a/docs/src/main/asciidoc/writing-extensions.adoc +++ b/docs/src/main/asciidoc/writing-extensions.adoc @@ -1388,7 +1388,7 @@ And at the end of the guide, the extensive configuration documentation: [WARNING] ==== -All documentation should be generated and validated before being commited. +All documentation should be generated and validated before being committed. ==== === Conditional Step Inclusion @@ -1550,6 +1550,11 @@ However, this method should not be needed in most use cases because directly loa Therefore, this method is deprecated. Nonetheless, there are some use cases where this method comes in handy, such as referring to classes that were generated in previous build steps using `GeneratedClassBuildItem`. +==== Runtime Classpath check + +Extensions often need a way to determine whether a given class is part of the application's runtime classpath. +The proper way for an extension to perform this check is to use `io.quarkus.bootstrap.classloading.QuarkusClassLoader.isClassPresentAtRuntime`. + ==== Printing step execution time At times, it can be useful to know how the exact time each startup task (which is the result of each bytecode recording) takes when the application is run.