You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/01/03 09:06:49 UTC

[camel-quarkus] branch cleanup-aws created (now 259b65b)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch cleanup-aws
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git.


      at 259b65b  Camel-AWS extensions: Cleanup

This branch includes the following new commits:

     new 259b65b  Camel-AWS extensions: Cleanup

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[camel-quarkus] 01/01: Camel-AWS extensions: Cleanup

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch cleanup-aws
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit 259b65bc1515c52a5f5b0579d2de7dc3da424e95
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jan 3 10:06:20 2020 +0100

    Camel-AWS extensions: Cleanup
---
 .../component/aws/ec2/deployment/AwsEc2Processor.java    | 15 ---------------
 .../component/aws/ecs/deployment/AwsEcsProcessor.java    | 15 ---------------
 .../component/aws/eks/deployment/AwsEKSProcessor.java    | 15 ---------------
 .../component/aws/iam/deployment/AwsIamProcessor.java    | 15 ---------------
 .../component/aws/kms/deployment/AwsKmsProcessor.java    | 15 ---------------
 .../aws/lambda/deployment/AwsLambdaProcessor.java        | 14 --------------
 .../component/aws/s3/deployment/AwsS3Processor.java      | 15 ---------------
 .../component/aws/sns/deployment/AwsSNSProcessor.java    | 15 ---------------
 .../component/aws/sqs/deployment/AwsSQSProcessor.java    | 16 ----------------
 9 files changed, 135 deletions(-)

diff --git a/extensions/aws-ec2/deployment/src/main/java/org/apache/camel/quarkus/component/aws/ec2/deployment/AwsEc2Processor.java b/extensions/aws-ec2/deployment/src/main/java/org/apache/camel/quarkus/component/aws/ec2/deployment/AwsEc2Processor.java
index 8f36127..dc175a9 100644
--- a/extensions/aws-ec2/deployment/src/main/java/org/apache/camel/quarkus/component/aws/ec2/deployment/AwsEc2Processor.java
+++ b/extensions/aws-ec2/deployment/src/main/java/org/apache/camel/quarkus/component/aws/ec2/deployment/AwsEc2Processor.java
@@ -16,13 +16,7 @@
  */
 package org.apache.camel.quarkus.component.aws.ec2.deployment;
 
-import java.util.Collection;
-import java.util.stream.Collectors;
-
 import org.apache.camel.component.aws.ec2.EC2Configuration;
-import org.jboss.jandex.ClassInfo;
-import org.jboss.jandex.DotName;
-import org.jboss.jandex.IndexView;
 
 import com.amazonaws.partitions.model.CredentialScope;
 import com.amazonaws.partitions.model.Endpoint;
@@ -36,7 +30,6 @@ import io.quarkus.deployment.annotations.BuildStep;
 import io.quarkus.deployment.builditem.CombinedIndexBuildItem;
 import io.quarkus.deployment.builditem.ExtensionSslNativeSupportBuildItem;
 import io.quarkus.deployment.builditem.FeatureBuildItem;
-import io.quarkus.deployment.builditem.nativeimage.NativeImageProxyDefinitionBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.NativeImageResourceBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
 
@@ -60,8 +53,6 @@ class AwsEc2Processor {
             BuildProducer<ReflectiveClassBuildItem> reflectiveClass,
             BuildProducer<NativeImageResourceBuildItem> resource) {
 
-        IndexView view = combinedIndexBuildItem.getIndex();
-
         resource.produce(new NativeImageResourceBuildItem("com/amazonaws/partitions/endpoints.json"));
         reflectiveClass.produce(new ReflectiveClassBuildItem(true, false,
                 Partitions.class.getCanonicalName(),
@@ -73,10 +64,4 @@ class AwsEc2Processor {
                 EC2Configuration.class.getCanonicalName()));
     }
 
-    protected Collection<String> getImplementations(IndexView view, Class<?> type) {
-        return view.getAllKnownImplementors(DotName.createSimple(type.getName())).stream()
-                .map(ClassInfo::toString)
-                .collect(Collectors.toList());
-    }
-
 }
diff --git a/extensions/aws-ecs/deployment/src/main/java/org/apache/camel/quarkus/component/aws/ecs/deployment/AwsEcsProcessor.java b/extensions/aws-ecs/deployment/src/main/java/org/apache/camel/quarkus/component/aws/ecs/deployment/AwsEcsProcessor.java
index 293c0f5..bcdf823 100644
--- a/extensions/aws-ecs/deployment/src/main/java/org/apache/camel/quarkus/component/aws/ecs/deployment/AwsEcsProcessor.java
+++ b/extensions/aws-ecs/deployment/src/main/java/org/apache/camel/quarkus/component/aws/ecs/deployment/AwsEcsProcessor.java
@@ -16,13 +16,7 @@
  */
 package org.apache.camel.quarkus.component.aws.ecs.deployment;
 
-import java.util.Collection;
-import java.util.stream.Collectors;
-
 import org.apache.camel.component.aws.ecs.ECSConfiguration;
-import org.jboss.jandex.ClassInfo;
-import org.jboss.jandex.DotName;
-import org.jboss.jandex.IndexView;
 
 import com.amazonaws.partitions.model.CredentialScope;
 import com.amazonaws.partitions.model.Endpoint;
@@ -36,7 +30,6 @@ import io.quarkus.deployment.annotations.BuildStep;
 import io.quarkus.deployment.builditem.CombinedIndexBuildItem;
 import io.quarkus.deployment.builditem.ExtensionSslNativeSupportBuildItem;
 import io.quarkus.deployment.builditem.FeatureBuildItem;
-import io.quarkus.deployment.builditem.nativeimage.NativeImageProxyDefinitionBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.NativeImageResourceBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
 
@@ -61,8 +54,6 @@ class AwsEcsProcessor {
             BuildProducer<ReflectiveClassBuildItem> reflectiveClass,
             BuildProducer<NativeImageResourceBuildItem> resource) {
 
-        IndexView view = combinedIndexBuildItem.getIndex();
-
         resource.produce(new NativeImageResourceBuildItem("com/amazonaws/partitions/endpoints.json"));
         reflectiveClass.produce(new ReflectiveClassBuildItem(true, false,
                 Partitions.class.getCanonicalName(),
@@ -73,10 +64,4 @@ class AwsEcsProcessor {
                 CredentialScope.class.getCanonicalName(),
                 ECSConfiguration.class.getCanonicalName()));
     }
-
-    protected Collection<String> getImplementations(IndexView view, Class<?> type) {
-        return view.getAllKnownImplementors(DotName.createSimple(type.getName())).stream()
-                .map(ClassInfo::toString)
-                .collect(Collectors.toList());
-    }
 }
diff --git a/extensions/aws-eks/deployment/src/main/java/org/apache/camel/quarkus/component/aws/eks/deployment/AwsEKSProcessor.java b/extensions/aws-eks/deployment/src/main/java/org/apache/camel/quarkus/component/aws/eks/deployment/AwsEKSProcessor.java
index 88d6aee..e4807c8 100644
--- a/extensions/aws-eks/deployment/src/main/java/org/apache/camel/quarkus/component/aws/eks/deployment/AwsEKSProcessor.java
+++ b/extensions/aws-eks/deployment/src/main/java/org/apache/camel/quarkus/component/aws/eks/deployment/AwsEKSProcessor.java
@@ -16,9 +16,6 @@
  */
 package org.apache.camel.quarkus.component.aws.eks.deployment;
 
-import java.util.Collection;
-import java.util.stream.Collectors;
-
 import com.amazonaws.partitions.model.CredentialScope;
 import com.amazonaws.partitions.model.Endpoint;
 import com.amazonaws.partitions.model.Partition;
@@ -30,13 +27,9 @@ import io.quarkus.deployment.annotations.BuildStep;
 import io.quarkus.deployment.builditem.CombinedIndexBuildItem;
 import io.quarkus.deployment.builditem.ExtensionSslNativeSupportBuildItem;
 import io.quarkus.deployment.builditem.FeatureBuildItem;
-import io.quarkus.deployment.builditem.nativeimage.NativeImageProxyDefinitionBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.NativeImageResourceBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
 import org.apache.camel.component.aws.eks.EKSConfiguration;
-import org.jboss.jandex.ClassInfo;
-import org.jboss.jandex.DotName;
-import org.jboss.jandex.IndexView;
 
 class AwsEKSProcessor {
 
@@ -59,8 +52,6 @@ class AwsEKSProcessor {
             BuildProducer<ReflectiveClassBuildItem> reflectiveClass,
             BuildProducer<NativeImageResourceBuildItem> resource) {
 
-        IndexView view = combinedIndexBuildItem.getIndex();
-
         resource.produce(new NativeImageResourceBuildItem("com/amazonaws/partitions/endpoints.json"));
         reflectiveClass.produce(new ReflectiveClassBuildItem(true, false,
                 Partitions.class.getCanonicalName(),
@@ -71,10 +62,4 @@ class AwsEKSProcessor {
                 CredentialScope.class.getCanonicalName(),
                 EKSConfiguration.class.getCanonicalName()));
     }
-
-    protected Collection<String> getImplementations(IndexView view, Class<?> type) {
-        return view.getAllKnownImplementors(DotName.createSimple(type.getName())).stream()
-                .map(ClassInfo::toString)
-                .collect(Collectors.toList());
-    }
 }
diff --git a/extensions/aws-iam/deployment/src/main/java/org/apache/camel/quarkus/component/aws/iam/deployment/AwsIamProcessor.java b/extensions/aws-iam/deployment/src/main/java/org/apache/camel/quarkus/component/aws/iam/deployment/AwsIamProcessor.java
index c95c5ec..9d48585 100644
--- a/extensions/aws-iam/deployment/src/main/java/org/apache/camel/quarkus/component/aws/iam/deployment/AwsIamProcessor.java
+++ b/extensions/aws-iam/deployment/src/main/java/org/apache/camel/quarkus/component/aws/iam/deployment/AwsIamProcessor.java
@@ -16,13 +16,7 @@
  */
 package org.apache.camel.quarkus.component.aws.iam.deployment;
 
-import java.util.Collection;
-import java.util.stream.Collectors;
-
 import org.apache.camel.component.aws.iam.IAMConfiguration;
-import org.jboss.jandex.ClassInfo;
-import org.jboss.jandex.DotName;
-import org.jboss.jandex.IndexView;
 
 import com.amazonaws.partitions.model.CredentialScope;
 import com.amazonaws.partitions.model.Endpoint;
@@ -36,7 +30,6 @@ import io.quarkus.deployment.annotations.BuildStep;
 import io.quarkus.deployment.builditem.CombinedIndexBuildItem;
 import io.quarkus.deployment.builditem.ExtensionSslNativeSupportBuildItem;
 import io.quarkus.deployment.builditem.FeatureBuildItem;
-import io.quarkus.deployment.builditem.nativeimage.NativeImageProxyDefinitionBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.NativeImageResourceBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
 
@@ -61,8 +54,6 @@ class AwsIamProcessor {
             BuildProducer<ReflectiveClassBuildItem> reflectiveClass,
             BuildProducer<NativeImageResourceBuildItem> resource) {
 
-        IndexView view = combinedIndexBuildItem.getIndex();
-
         resource.produce(new NativeImageResourceBuildItem("com/amazonaws/partitions/endpoints.json"));
         reflectiveClass.produce(new ReflectiveClassBuildItem(true, false,
                 Partitions.class.getCanonicalName(),
@@ -73,10 +64,4 @@ class AwsIamProcessor {
                 CredentialScope.class.getCanonicalName(),
                 IAMConfiguration.class.getCanonicalName()));
     }
-
-    protected Collection<String> getImplementations(IndexView view, Class<?> type) {
-        return view.getAllKnownImplementors(DotName.createSimple(type.getName())).stream()
-                .map(ClassInfo::toString)
-                .collect(Collectors.toList());
-    }
 }
diff --git a/extensions/aws-kms/deployment/src/main/java/org/apache/camel/quarkus/component/aws/kms/deployment/AwsKmsProcessor.java b/extensions/aws-kms/deployment/src/main/java/org/apache/camel/quarkus/component/aws/kms/deployment/AwsKmsProcessor.java
index dc3d60d..783746c 100644
--- a/extensions/aws-kms/deployment/src/main/java/org/apache/camel/quarkus/component/aws/kms/deployment/AwsKmsProcessor.java
+++ b/extensions/aws-kms/deployment/src/main/java/org/apache/camel/quarkus/component/aws/kms/deployment/AwsKmsProcessor.java
@@ -16,13 +16,7 @@
  */
 package org.apache.camel.quarkus.component.aws.kms.deployment;
 
-import java.util.Collection;
-import java.util.stream.Collectors;
-
 import org.apache.camel.component.aws.kms.KMSConfiguration;
-import org.jboss.jandex.ClassInfo;
-import org.jboss.jandex.DotName;
-import org.jboss.jandex.IndexView;
 
 import com.amazonaws.partitions.model.CredentialScope;
 import com.amazonaws.partitions.model.Endpoint;
@@ -36,7 +30,6 @@ import io.quarkus.deployment.annotations.BuildStep;
 import io.quarkus.deployment.builditem.CombinedIndexBuildItem;
 import io.quarkus.deployment.builditem.ExtensionSslNativeSupportBuildItem;
 import io.quarkus.deployment.builditem.FeatureBuildItem;
-import io.quarkus.deployment.builditem.nativeimage.NativeImageProxyDefinitionBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.NativeImageResourceBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
 
@@ -61,8 +54,6 @@ class AwsKmsProcessor {
             BuildProducer<ReflectiveClassBuildItem> reflectiveClass,
             BuildProducer<NativeImageResourceBuildItem> resource) {
 
-        IndexView view = combinedIndexBuildItem.getIndex();
-
         resource.produce(new NativeImageResourceBuildItem("com/amazonaws/partitions/endpoints.json"));
         reflectiveClass.produce(new ReflectiveClassBuildItem(true, false,
                 Partitions.class.getCanonicalName(),
@@ -73,10 +64,4 @@ class AwsKmsProcessor {
                 CredentialScope.class.getCanonicalName(),
                 KMSConfiguration.class.getCanonicalName()));
     }
-
-    protected Collection<String> getImplementations(IndexView view, Class<?> type) {
-        return view.getAllKnownImplementors(DotName.createSimple(type.getName())).stream()
-                .map(ClassInfo::toString)
-                .collect(Collectors.toList());
-    }
 }
diff --git a/extensions/aws-lambda/deployment/src/main/java/org/apache/camel/quarkus/component/aws/lambda/deployment/AwsLambdaProcessor.java b/extensions/aws-lambda/deployment/src/main/java/org/apache/camel/quarkus/component/aws/lambda/deployment/AwsLambdaProcessor.java
index f786b32..7b4000a 100644
--- a/extensions/aws-lambda/deployment/src/main/java/org/apache/camel/quarkus/component/aws/lambda/deployment/AwsLambdaProcessor.java
+++ b/extensions/aws-lambda/deployment/src/main/java/org/apache/camel/quarkus/component/aws/lambda/deployment/AwsLambdaProcessor.java
@@ -16,13 +16,7 @@
  */
 package org.apache.camel.quarkus.component.aws.lambda.deployment;
 
-import java.util.Collection;
-import java.util.stream.Collectors;
-
 import org.apache.camel.component.aws.lambda.LambdaConfiguration;
-import org.jboss.jandex.ClassInfo;
-import org.jboss.jandex.DotName;
-import org.jboss.jandex.IndexView;
 
 import com.amazonaws.partitions.model.CredentialScope;
 import com.amazonaws.partitions.model.Endpoint;
@@ -60,8 +54,6 @@ class AwsLambdaProcessor {
             BuildProducer<ReflectiveClassBuildItem> reflectiveClass,
             BuildProducer<NativeImageResourceBuildItem> resource) {
 
-        IndexView view = combinedIndexBuildItem.getIndex();
-
         resource.produce(new NativeImageResourceBuildItem("com/amazonaws/partitions/endpoints.json"));
         reflectiveClass.produce(new ReflectiveClassBuildItem(true, false,
                 Partitions.class.getCanonicalName(),
@@ -72,10 +64,4 @@ class AwsLambdaProcessor {
                 CredentialScope.class.getCanonicalName(),
                 LambdaConfiguration.class.getCanonicalName()));
     }
-
-    protected Collection<String> getImplementations(IndexView view, Class<?> type) {
-        return view.getAllKnownImplementors(DotName.createSimple(type.getName())).stream()
-                .map(ClassInfo::toString)
-                .collect(Collectors.toList());
-    }
 }
diff --git a/extensions/aws-s3/deployment/src/main/java/org/apache/camel/quarkus/component/aws/s3/deployment/AwsS3Processor.java b/extensions/aws-s3/deployment/src/main/java/org/apache/camel/quarkus/component/aws/s3/deployment/AwsS3Processor.java
index 6941990..bba660d 100644
--- a/extensions/aws-s3/deployment/src/main/java/org/apache/camel/quarkus/component/aws/s3/deployment/AwsS3Processor.java
+++ b/extensions/aws-s3/deployment/src/main/java/org/apache/camel/quarkus/component/aws/s3/deployment/AwsS3Processor.java
@@ -16,9 +16,6 @@
  */
 package org.apache.camel.quarkus.component.aws.s3.deployment;
 
-import java.util.Collection;
-import java.util.stream.Collectors;
-
 import com.amazonaws.partitions.model.CredentialScope;
 import com.amazonaws.partitions.model.Endpoint;
 import com.amazonaws.partitions.model.Partition;
@@ -32,14 +29,10 @@ import io.quarkus.deployment.annotations.BuildStep;
 import io.quarkus.deployment.builditem.CombinedIndexBuildItem;
 import io.quarkus.deployment.builditem.ExtensionSslNativeSupportBuildItem;
 import io.quarkus.deployment.builditem.FeatureBuildItem;
-import io.quarkus.deployment.builditem.nativeimage.NativeImageProxyDefinitionBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.NativeImageResourceBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem;
 import org.apache.camel.component.aws.s3.S3Configuration;
-import org.jboss.jandex.ClassInfo;
-import org.jboss.jandex.DotName;
-import org.jboss.jandex.IndexView;
 
 class AwsS3Processor {
 
@@ -67,8 +60,6 @@ class AwsS3Processor {
             BuildProducer<ReflectiveClassBuildItem> reflectiveClass,
             BuildProducer<NativeImageResourceBuildItem> resource) {
 
-        IndexView view = combinedIndexBuildItem.getIndex();
-
         resource.produce(new NativeImageResourceBuildItem("com/amazonaws/partitions/endpoints.json"));
         reflectiveClass.produce(new ReflectiveClassBuildItem(true, false,
                 Partitions.class.getCanonicalName(),
@@ -81,10 +72,4 @@ class AwsS3Processor {
                 S3Configuration.class.getCanonicalName()));
     }
 
-    protected Collection<String> getImplementations(IndexView view, Class<?> type) {
-        return view.getAllKnownImplementors(DotName.createSimple(type.getName())).stream()
-                .map(ClassInfo::toString)
-                .collect(Collectors.toList());
-    }
-
 }
diff --git a/extensions/aws-sns/deployment/src/main/java/org/apache/camel/quarkus/component/aws/sns/deployment/AwsSNSProcessor.java b/extensions/aws-sns/deployment/src/main/java/org/apache/camel/quarkus/component/aws/sns/deployment/AwsSNSProcessor.java
index 752148d..a235887 100644
--- a/extensions/aws-sns/deployment/src/main/java/org/apache/camel/quarkus/component/aws/sns/deployment/AwsSNSProcessor.java
+++ b/extensions/aws-sns/deployment/src/main/java/org/apache/camel/quarkus/component/aws/sns/deployment/AwsSNSProcessor.java
@@ -16,9 +16,6 @@
  */
 package org.apache.camel.quarkus.component.aws.sns.deployment;
 
-import java.util.Collection;
-import java.util.stream.Collectors;
-
 import com.amazonaws.auth.AWS4Signer;
 import com.amazonaws.partitions.model.CredentialScope;
 import com.amazonaws.partitions.model.Endpoint;
@@ -31,13 +28,9 @@ import io.quarkus.deployment.annotations.BuildStep;
 import io.quarkus.deployment.builditem.CombinedIndexBuildItem;
 import io.quarkus.deployment.builditem.ExtensionSslNativeSupportBuildItem;
 import io.quarkus.deployment.builditem.FeatureBuildItem;
-import io.quarkus.deployment.builditem.nativeimage.NativeImageProxyDefinitionBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.NativeImageResourceBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
 import org.apache.camel.component.aws.sns.SnsConfiguration;
-import org.jboss.jandex.ClassInfo;
-import org.jboss.jandex.DotName;
-import org.jboss.jandex.IndexView;
 
 class AwsSNSProcessor {
 
@@ -60,8 +53,6 @@ class AwsSNSProcessor {
             BuildProducer<ReflectiveClassBuildItem> reflectiveClass,
             BuildProducer<NativeImageResourceBuildItem> resource) {
 
-        IndexView view = combinedIndexBuildItem.getIndex();
-
         resource.produce(new NativeImageResourceBuildItem("com/amazonaws/partitions/endpoints.json"));
         reflectiveClass.produce(new ReflectiveClassBuildItem(true, false,
                 Partitions.class.getCanonicalName(),
@@ -74,10 +65,4 @@ class AwsSNSProcessor {
                 SnsConfiguration.class.getCanonicalName()));
     }
 
-    protected Collection<String> getImplementations(IndexView view, Class<?> type) {
-        return view.getAllKnownImplementors(DotName.createSimple(type.getName())).stream()
-                .map(ClassInfo::toString)
-                .collect(Collectors.toList());
-    }
-
 }
diff --git a/extensions/aws-sqs/deployment/src/main/java/org/apache/camel/quarkus/component/aws/sqs/deployment/AwsSQSProcessor.java b/extensions/aws-sqs/deployment/src/main/java/org/apache/camel/quarkus/component/aws/sqs/deployment/AwsSQSProcessor.java
index 3b905d2..de97f4e 100644
--- a/extensions/aws-sqs/deployment/src/main/java/org/apache/camel/quarkus/component/aws/sqs/deployment/AwsSQSProcessor.java
+++ b/extensions/aws-sqs/deployment/src/main/java/org/apache/camel/quarkus/component/aws/sqs/deployment/AwsSQSProcessor.java
@@ -16,9 +16,6 @@
  */
 package org.apache.camel.quarkus.component.aws.sqs.deployment;
 
-import java.util.Collection;
-import java.util.stream.Collectors;
-
 import com.amazonaws.auth.AWS4Signer;
 import com.amazonaws.partitions.model.CredentialScope;
 import com.amazonaws.partitions.model.Endpoint;
@@ -31,13 +28,9 @@ import io.quarkus.deployment.annotations.BuildStep;
 import io.quarkus.deployment.builditem.CombinedIndexBuildItem;
 import io.quarkus.deployment.builditem.ExtensionSslNativeSupportBuildItem;
 import io.quarkus.deployment.builditem.FeatureBuildItem;
-import io.quarkus.deployment.builditem.nativeimage.NativeImageProxyDefinitionBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.NativeImageResourceBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
 import org.apache.camel.component.aws.sqs.SqsConfiguration;
-import org.jboss.jandex.ClassInfo;
-import org.jboss.jandex.DotName;
-import org.jboss.jandex.IndexView;
 
 class AwsSQSProcessor {
 
@@ -60,8 +53,6 @@ class AwsSQSProcessor {
             BuildProducer<ReflectiveClassBuildItem> reflectiveClass,
             BuildProducer<NativeImageResourceBuildItem> resource) {
 
-        IndexView view = combinedIndexBuildItem.getIndex();
-
         resource.produce(new NativeImageResourceBuildItem("com/amazonaws/partitions/endpoints.json"));
         reflectiveClass.produce(new ReflectiveClassBuildItem(true, false,
                 Partitions.class.getCanonicalName(),
@@ -73,11 +64,4 @@ class AwsSQSProcessor {
                 AWS4Signer.class.getCanonicalName(),
                 SqsConfiguration.class.getCanonicalName()));
     }
-
-    protected Collection<String> getImplementations(IndexView view, Class<?> type) {
-        return view.getAllKnownImplementors(DotName.createSimple(type.getName())).stream()
-                .map(ClassInfo::toString)
-                .collect(Collectors.toList());
-    }
-
 }