Get all classes with a specific annotation
Hey, I would like to get all the classes having an annotation named: "Command". Make sure not to have indicated the "commands" package if possible. My project would be to make a kind of commandHandler which will load all the commands in a map.
- @ Command
- Command Help
5 Replies
⌛
This post has been reserved for your question.
Hey @Max! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
GitHub
GitHub - ronmamo/reflections: Java runtime metadata analysis
Java runtime metadata analysis. Contribute to ronmamo/reflections development by creating an account on GitHub.
Yesss thanks, I saw her moments after posting the message. But thanks anyway ^^
If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.
Post Closed
This post has been closed by <@358629612584173568>.