0

I want to know if is possible to find class by annotation. Example:

@MyAnnotation(string = "some string")
class Annotated class { some methods...}

so can I find this class in my package where I have many other classes with another annotations...

Just wonder if it's possible

Thanks

James
  • 33
  • 4

1 Answers1

0

If you're using Eclipse you can right-click the annotation, go to References, then pick the scope you want to search.

Mike B
  • 5,390
  • 2
  • 23
  • 45