-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Support `Refaster#anyOf()` For `@BeforeTemplate` annotated methods which contain one `Refaster#anyOf()` call we can support that by generating a corresponding number of `JavaTemplate`s. * Remove `TemplateDescriptor#resolvedParameters` Instead, updating the method in place. * Add `TemplateDescriptor#resolveMethod()` method * Rename `TemplateDescriptor` to `RuleDescriptor` Also add new `TemplateDescriptor` to represent actual template method. * Mork work on `Refaster.anyOf()` support * Some more refactoring * Implement predicates for `anyOf()` * Adjust import detection * Correct template code generation * Change test to also use an unqualified name * Don't add any imports Now that we skip the intermediate step with lambdas, there is no need to generate imports for any types from the template code. * Properly support array type parameters * Fix failing test
- Loading branch information
1 parent
ab2dee2
commit 7b766b8
Showing
14 changed files
with
704 additions
and
247 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.