diff --git a/integration-tests/class-transformer/deployment/src/main/java/io/quarkus/it/classtransformer/ClassTransformerProcessor.java b/integration-tests/class-transformer/deployment/src/main/java/io/quarkus/it/classtransformer/ClassTransformerProcessor.java index 6819e66be72a6..5ca661546271e 100644 --- a/integration-tests/class-transformer/deployment/src/main/java/io/quarkus/it/classtransformer/ClassTransformerProcessor.java +++ b/integration-tests/class-transformer/deployment/src/main/java/io/quarkus/it/classtransformer/ClassTransformerProcessor.java @@ -6,8 +6,6 @@ import java.util.Set; import java.util.function.BiFunction; -import javax.inject.Inject; - import org.jboss.jandex.AnnotationInstance; import org.jboss.jandex.AnnotationTarget; import org.jboss.jandex.DotName; @@ -32,14 +30,9 @@ public class ClassTransformerProcessor { private static final DotName PATH = DotName.createSimple("javax.ws.rs.Path"); - @Inject - CombinedIndexBuildItem combinedIndex; - - @Inject - BuildProducer transformers; - @BuildStep - public void build() throws Exception { + public void build(CombinedIndexBuildItem combinedIndex, + BuildProducer transformers) throws Exception { final Set pathAnnotatedClasses = new HashSet<>(); Collection annotations = combinedIndex.getIndex().getAnnotations(PATH);