[Annotation Processor] - Currently is possible to register any class as controller
Closed this issue · 0 comments
paulomeurerzup commented
Description
Currently is possible to register any class as controller. The annotation processor should verify if classes annotated with @RegisterController extends BeagleActivity.
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
- Create an ordinary class
- Annotate that class with @RegisterContreooler
- Build project
Expected Results
Annotation processor should issue a compilation error. It should show a message informing that classes annotated with @RegisterController must extend BeagleActivity.
Code example, screenshot, or link to a repository:
@RegisterController(id = "aController")
class AController{}