First off thanks for a great tool, I discovered as I was searching for an alternative to org.reflections.Now, the one case I found a gap in how we use it, is that the method level search doesn't support the ability to search for a meta-annotations like the class level one does. Any there any plans to support this?
--
You received this message because you are subscribed to the Google Groups "FastClasspathScanner-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fastclasspathscanner-users+unsub...@googlegroups.com.
To post to this group, send email to fastclasspathscanner-users@googlegroups.com.
Visit this group at https://groups.google.com/group/fastclasspathscanner-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/fastclasspathscanner-users/bfc37cf2-7f5c-436b-968b-873a18d078fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Ronald,Your welcome, I'm glad it (mostly so far!) works for you.If I understand your question, then yes, there are variants of the annotation scanning methods with "Direct" in their name, and they only look at direct annotations, not direct annotations and meta-annotations (let me know if that's what you were looking for). However, this is currently only supported for scanning Mechanisms 2 and 3. I didn't think about the fact that this might be needed for MatchProcessors too. I could add that.However, I'm curious, why do you want to exclude meta-annotations?Best,Luke
On Mar 27, 2017 9:31 AM, "Ronald R. DiFrango" <ron.di...@gmail.com> wrote:
First off thanks for a great tool, I discovered as I was searching for an alternative to org.reflections.--Now, the one case I found a gap in how we use it, is that the method level search doesn't support the ability to search for a meta-annotations like the class level one does. Any there any plans to support this?
You received this message because you are subscribed to the Google Groups "FastClasspathScanner-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fastclasspathscanner-users+unsubsc...@googlegroups.com.
ScanResult result = new FastClasspathScanner("com.test")
.enableMethodAnnotationIndexing()
.ignoreFieldVisibility()
.ignoreMethodVisibility()
.scan();
// This works for classes
//
// Namely: MyFeatureBean gets found.
// List<Class<?>> featureClasses = result.classNamesToClassRefs( result.getNamesOfClassesWithAnnotationsAnyOf(MyFeature.class), true);// This doesn't work on the method
//
// Namely: TestFeatureUsingMetaAnnotations. featureBean
//
List<Class<?>> featureBeans = result.classNamesToClassRefs( result.getNamesOfClassesWithMethodAnnotation(MyFeature.class), true); Where: @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) @Configuration @MyFeature("FeatureConfigurationUsingMetaAnnotation") private @interface MyFeatureConfiguration { } @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) @Bean @MyFeature("FeatureConfigurationUsingMetaAnnotation.featureBean") private @interface MyFeatureBean { } @MyFeatureConfiguration private static class TestFeatureUsingMetaAnnotations { @MyFeatureBean public void featureBean() { } }
Egregious autocorrect typo: You're welcome, not Your welcome, I didn't look up as I told this in my phone :)
On Mar 27, 2017 12:08 PM, "Luke Hutchison" <luke....@gmail.com> wrote:
Hi Ronald,Your welcome, I'm glad it (mostly so far!) works for you.If I understand your question, then yes, there are variants of the annotation scanning methods with "Direct" in their name, and they only look at direct annotations, not direct annotations and meta-annotations (let me know if that's what you were looking for). However, this is currently only supported for scanning Mechanisms 2 and 3. I didn't think about the fact that this might be needed for MatchProcessors too. I could add that.However, I'm curious, why do you want to exclude meta-annotations?Best,Luke
On Mar 27, 2017 9:31 AM, "Ronald R. DiFrango" <ron.di...@gmail.com> wrote:
First off thanks for a great tool, I discovered as I was searching for an alternative to org.reflections.--Now, the one case I found a gap in how we use it, is that the method level search doesn't support the ability to search for a meta-annotations like the class level one does. Any there any plans to support this?
You received this message because you are subscribed to the Google Groups "FastClasspathScanner-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fastclasspathscanner-users+unsub...@googlegroups.com.
To post to this group, send email to fastclasspath...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to fastclasspathscanner-users+unsubsc...@googlegroups.com.
To post to this group, send email to fastclasspath...@googlegroups.com.
Visit this group at https://groups.google.com/group/fastclasspathscanner-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/fastclasspathscanner-users/bfc37cf2-7f5c-436b-968b-873a18d078fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "FastClasspathScanner-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fastclasspathscanner-users+unsub...@googlegroups.com.
To post to this group, send email to fastclasspathscanner-users@googlegroups.com.
Visit this group at https://groups.google.com/group/fastclasspathscanner-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/fastclasspathscanner-users/4b7ec931-1c48-4fdb-9796-12446dd18729%40googlegroups.com.
${testCompileJdkPath}/bin/javac
To unsubscribe from this group and stop receiving emails from it, send an email to fastclasspathscanner-users+unsub...@googlegroups.com.
To post to this group, send email to fastclasspath...@googlegroups.com.
Visit this group at https://groups.google.com/group/fastclasspathscanner-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/fastclasspathscanner-users/bfc37cf2-7f5c-436b-968b-873a18d078fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "FastClasspathScanner-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fastclasspathscanner-users+unsub...@googlegroups.com.
To post to this group, send email to fastclasspath...@googlegroups.com.
Visit this group at https://groups.google.com/group/fastclasspathscanner-users.
To unsubscribe from this group and stop receiving emails from it, send an email to fastclasspathscanner-users+unsubsc...@googlegroups.com.
To post to this group, send email to fastclasspath...@googlegroups.com.
Visit this group at https://groups.google.com/group/fastclasspathscanner-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/fastclasspathscanner-users/bfc37cf2-7f5c-436b-968b-873a18d078fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "FastClasspathScanner-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fastclasspathscanner-users+unsubsc...@googlegroups.com.
To post to this group, send email to fastclasspath...@googlegroups.com.
Visit this group at https://groups.google.com/group/fastclasspathscanner-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/fastclasspathscanner-users/4b7ec931-1c48-4fdb-9796-12446dd18729%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "FastClasspathScanner-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fastclasspathscanner-users+unsub...@googlegroups.com.
To post to this group, send email to fastclasspathscanner-users@googlegroups.com.
Visit this group at https://groups.google.com/group/fastclasspathscanner-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/fastclasspathscanner-users/1b8e55f5-df7b-4bbf-8336-594e5c4f6d03%40googlegroups.com.
so I skipped tests and I just noticed this:
[DEBUG] Generating signature for /Users/vcq554/Documents/workspaces/lukehutch/fast-classpath-scanner/target/fast-classpath-scanner-2.0.19-SNAPSHOT.jar
/bin/sh: gpg: command not found
and then the failure:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.5:sign (sign-artifacts) on project fast-classpath-scanner: Exit code: 127 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.5:sign (sign-artifacts) on project fast-classpath-scanner: Exit code: 127
To unsubscribe from this group and stop receiving emails from it, send an email to fastclasspathscanner-users+unsub...@googlegroups.com.
To post to this group, send email to fastclasspath...@googlegroups.com.
Visit this group at https://groups.google.com/group/fastclasspathscanner-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/fastclasspathscanner-users/bfc37cf2-7f5c-436b-968b-873a18d078fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "FastClasspathScanner-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fastclasspathscanner-users+unsub...@googlegroups.com.
To post to this group, send email to fastclasspath...@googlegroups.com.
Visit this group at https://groups.google.com/group/fastclasspathscanner-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/fastclasspathscanner-users/4b7ec931-1c48-4fdb-9796-12446dd18729%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "FastClasspathScanner-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fastclasspathscanner-users+unsub...@googlegroups.com.
To post to this group, send email to fastclasspath...@googlegroups.com.
Visit this group at https://groups.google.com/group/fastclasspathscanner-users.
gpg: directory `/Users/rdifrango/.gnupg' created
gpg: new configuration file `/Users/rdifrango/.gnupg/gpg.conf' created
gpg: WARNING: options in `/Users/rdifrango/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/Users/rdifrango/.gnupg/secring.gpg' created
gpg: keyring `/Users/rdifrango/.gnupg/pubring.gpg' created
gpg: no default secret key: No secret key
gpg: signing failed: No secret key
To unsubscribe from this group and stop receiving emails from it, send an email to fastclasspathscanner-users+unsubsc...@googlegroups.com.
To post to this group, send email to fastclasspath...@googlegroups.com.
Visit this group at https://groups.google.com/group/fastclasspathscanner-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/fastclasspathscanner-users/bfc37cf2-7f5c-436b-968b-873a18d078fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "FastClasspathScanner-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fastclasspathscanner-users+unsubsc...@googlegroups.com.
To post to this group, send email to fastclasspath...@googlegroups.com.
Visit this group at https://groups.google.com/group/fastclasspathscanner-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/fastclasspathscanner-users/4b7ec931-1c48-4fdb-9796-12446dd18729%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "FastClasspathScanner-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fastclasspathscanner-users+unsubsc...@googlegroups.com.
To post to this group, send email to fastclasspath...@googlegroups.com.
Visit this group at https://groups.google.com/group/fastclasspathscanner-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/fastclasspathscanner-users/1b8e55f5-df7b-4bbf-8336-594e5c4f6d03%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "FastClasspathScanner-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fastclasspathscanner-users+unsub...@googlegroups.com.
To post to this group, send email to fastclasspathscanner-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fastclasspathscanner-users/8e6545d8-56ef-4440-a7c9-976650d51825%40googlegroups.com.
To post to this group, send email to fastclasspathscanner-users@googlegroups.com.
Visit this group at https://groups.google.com/group/fastclasspathscanner-users.
To unsubscribe from this group and stop receiving emails from it, send an email to fastclasspathscanner-users+unsub...@googlegroups.com.
To post to this group, send email to fastclasspath...@googlegroups.com.
Visit this group at https://groups.google.com/group/fastclasspathscanner-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/fastclasspathscanner-users/bfc37cf2-7f5c-436b-968b-873a18d078fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "FastClasspathScanner-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fastclasspathscanner-users+unsub...@googlegroups.com.
To post to this group, send email to fastclasspath...@googlegroups.com.
Visit this group at https://groups.google.com/group/fastclasspathscanner-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/fastclasspathscanner-users/4b7ec931-1c48-4fdb-9796-12446dd18729%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "FastClasspathScanner-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fastclasspathscanner-users+unsub...@googlegroups.com.
To post to this group, send email to fastclasspath...@googlegroups.com.
Visit this group at https://groups.google.com/group/fastclasspathscanner-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/fastclasspathscanner-users/1b8e55f5-df7b-4bbf-8336-594e5c4f6d03%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "FastClasspathScanner-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fastclasspathscanner-users+unsub...@googlegroups.com.
To post to this group, send email to fastclasspath...@googlegroups.com.
Visit this group at https://groups.google.com/group/fastclasspathscanner-users.