-
Notifications
You must be signed in to change notification settings - Fork 90
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomersrecipe
Description
What problem are you trying to solve?
I'd like to be able to tackle inconsistent order of frequently used annotations in the code.
e.g.
@Issue("https://github.com/openrewrite/rewrite/issues/2973")
@Test
@ExpectedToFail
void explicitImplementationClassInApi() {
vs.
@Issue("https://github.com/openrewrite/rewrite-static-analysis/issues/112")
@ExpectedToFail("only directly returned ternaries are taken into account")
@Test
void doReplaceNestedOrAssignmentTernaryWithIfElse() {
in our own code, etc. There are other combinations.
Describe the solution you'd like
Maybe a recipe to instil some deterministic order (alphabetic) or maybe some smart way of passing priorities/orders - e.g. @Test should always come first, etc.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomersrecipe
Type
Projects
Status
Done