Class ExecutionModelAnnotationsAllowedBuildItem
- java.lang.Object
-
- io.quarkus.builder.item.BuildItem
-
- io.quarkus.builder.item.MultiBuildItem
-
- io.quarkus.deployment.execannotations.ExecutionModelAnnotationsAllowedBuildItem
-
public final class ExecutionModelAnnotationsAllowedBuildItem extends MultiBuildItem
Carries a predicate that identifies methods that can have annotations which affect the execution model (@Blocking
,@NonBlocking
,@RunOnVirtualThread
).Used to detect wrong usage of these annotations, as they are implemented directly by the various frameworks and may only be put on "entrypoint" methods. Placing these annotations on methods that can only be invoked by application code is always wrong.
-
-
Constructor Summary
Constructors Constructor Description ExecutionModelAnnotationsAllowedBuildItem(Predicate<org.jboss.jandex.MethodInfo> predicate)
-
-
-
Constructor Detail
-
ExecutionModelAnnotationsAllowedBuildItem
public ExecutionModelAnnotationsAllowedBuildItem(Predicate<org.jboss.jandex.MethodInfo> predicate)
-
-