Skip to content

Wildcard in Fully Qualified Paths? #851

Answered by jkschneider
m-brophy asked this question in Q&A
Discussion options

You must be logged in to vote

@m-brophy Hi! There is a org.openrewrite.java.ChangePackage recipe that is designed for this purpose.

type: specs.openrewrite.org/v1beta/recipe
name: org.mine.LibraryUpgradeRecipe
displayName: Change library package example
recipeList:
  - org.openrewrite.java.ChangePackage:
      oldPackageName: org.mine.child.foo
      newPackageName: org.mine.foo

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@m-brophy
Comment options

Answer selected by timtebeek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants