-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Annotation Processor: Sidecar Generator (#76)
* wip: Generate Sidecar classes * wip: Use Sidecar instances for init * chore: Add some TODOs * fix(processor): Correctly handle @params in sidecar generator * feat(processor): Subcontroller init in sidecar * feat(processor): Destroy sidecars * fix(framework): Remember missing sidecars as null in map * feat(processor): Generate Sidecar render * test(framework): Change some member visibilities * feat(processor): Handle @ParamsMap field in Sidecar * feat(processor): Handle @param fields with WritableValue * refactor(processor): Better helper fields in FxClassGenerator * refactor(processor): Add FxClassGenerator.streamMethods * feat(processor): Call inherited methods * feat(processor): Sidecar getResources and getTitle * fix(processor): Properly convert string literals * fix(processor): Better sidecar code for WritableValues * test(framework): Add test for "@ParamsMap final" field * test(framework): Use annotation processor * fix(processor): Handle relative view paths * test(framework): Remove NonExtendingComponent * docs: Explain Annotation Processor in Readme * refactor(framework): Move reflection code into ReflectionSidecar * docs(framework): Some documentation * fix(framework): Handle missing resource bundle and pre-load title * refactor(framework): Pre-load @resource field * refactor(framework): Pre-load @subcomponent fields * refactor(framework): Pre-load init, render and destroy methods * refactor(processor): Rename generate methods * fix(processor): Remove printStackTrace * chore(processor): Remove TODO line * fix(ludo): Method visibility * fix(processor): Consider inherited fields for generated methods * feat(framework): Only support non-private methods and fields * docs: Update ERROR_CODES.md * fix: Address own review comments * refactor(framework): Cache all annotated fields and methods in ReflectionSidecar * fix(framework): A warning * docs: Update ERROR_CODES.md --------- Co-authored-by: LeStegii <[email protected]> Co-authored-by: LeStegii <[email protected]> Co-authored-by: Clashsoft <[email protected]>
- Loading branch information
1 parent
9e953cd
commit ee641e6
Showing
21 changed files
with
1,112 additions
and
483 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.