Replace new DefaultClaims(..) with Jwts.claims(..)

Proprietary

Replaces new DefaultClaims() and new DefaultClaims(map), which JJWT 0.10 moved to the runtime-only jjwt-impl jar, with Jwts.claims() and Jwts.claims(map).

org.openrewrite.java.security.jjwt.ReplaceDefaultClaims
mod run . --recipe=org.openrewrite.java.security.jjwt.ReplaceDefaultClaims

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.