Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FieldIndex? #35

Open
spoerri opened this issue May 6, 2016 · 3 comments
Open

FieldIndex? #35

spoerri opened this issue May 6, 2016 · 3 comments

Comments

@spoerri
Copy link

spoerri commented May 6, 2016

How about supporting indexing of annotations on fields (e.g. FieldElement as well as TypeElement)? Would you accept a pull request?

i.e.

@IndexAnnotated public @interface MyAnnotation {}

class MyClass {
    @MyAnnotation String myField;
}

Iterable<Field> fields = ClassIndex.getAnnotatedFields(MyAnnotation.class);
@sentinelt
Copy link
Member

Sure, I will accept pull request. One comment though, I would not use @IndexAnnotated in this case to not break backward compatibility. How about @IndexAnnotatedMember?

@raglandba
Copy link

Any updates on this feature?

I was just about to fork the project for this reason and don't want to write my own if this is currently in progress?

@sentinelt
Copy link
Member

I am not in the process of implementing any new features in this project right now. Currently I spend all my free time on jfactory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants