Class ExecutionModelAnnotationsAllowedBuildItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
io.quarkus.deployment.execannotations.ExecutionModelAnnotationsAllowedBuildItem
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
ConstructorsConstructorDescriptionExecutionModelAnnotationsAllowedBuildItem
(Predicate<org.jboss.jandex.MethodInfo> predicate) -
Method Summary
-
Constructor Details
-
ExecutionModelAnnotationsAllowedBuildItem
-
-
Method Details
-
matches
public boolean matches(org.jboss.jandex.MethodInfo method)
-