Skip to content

Commit

Permalink
Reduce visibility on AnnotationUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Jan 1, 2025
1 parent 3b0332c commit 9562633
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/
package org.openrewrite.openapi.swagger;

import lombok.experimental.UtilityClass;
import org.openrewrite.java.tree.Expression;
import org.openrewrite.java.tree.J;

Expand All @@ -23,7 +24,8 @@

import static java.util.Collections.emptyMap;

public class AnnotationUtils {
@UtilityClass
class AnnotationUtils {
public static Map<String, Expression> extractAnnotationArgumentAssignments(J.Annotation annotation) {
if (annotation.getArguments() == null ||
annotation.getArguments().isEmpty() ||
Expand Down

0 comments on commit 9562633

Please sign in to comment.