Skip to content

Conversation

@lkerford
Copy link
Contributor

@lkerford lkerford commented Oct 23, 2024

The previous behaviour, move the fully qualified name which won't compile

The previous behaviour
public void someFunction(@org.openrewrite.internal.lang.Nullable org.openrewrite.internal.MetricsHelper metrics) -->
public void someFunction([email protected] MetricsHelper metrics)

New behaviour
public void someFunction(@org.openrewrite.internal.lang.Nullable org.openrewrite.internal.MetricsHelper metrics) -->
public void someFunction(org.openrewrite.internal.@Nullable MetricsHelper metrics)

related issue

lkerford and others added 3 commits October 23, 2024 10:57
…are fully defined

The previous behaviour
`public void someFunction(@org.openrewrite.internal.lang.Nullable org.openrewrite.internal.MetricsHelper metrics)` -->
`public void someFunction([email protected] MetricsHelper metrics)`

New behaviour
`public void someFunction(@org.openrewrite.internal.lang.Nullable org.openrewrite.internal.MetricsHelper metrics)` -->
`public void someFunction(org.openrewrite.internal.@nullable MetricsHelper metrics)`
…otationToType.java

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…otationToType.java

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@lkerford lkerford force-pushed the fixing-moving-annotation-with-fully-defined-names branch from 98ed9eb to 3d42009 Compare October 23, 2024 17:58
@lkerford lkerford requested a review from timtebeek October 23, 2024 20:28
@lkerford lkerford merged commit 6f000f2 into main Oct 23, 2024
2 checks passed
@lkerford lkerford deleted the fixing-moving-annotation-with-fully-defined-names branch October 23, 2024 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants