We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e1243b commit 594d745Copy full SHA for 594d745
src/main/java/io/github/mboegers/openrewrite/testngtojupiter/helper/AnnotationArguments.java
@@ -15,20 +15,6 @@
15
*/
16
public final class AnnotationArguments {
17
18
- /**
19
- * Determines if the annotation has any arguments
20
- */
21
- public static boolean hasAny(J.Annotation annotation) {
22
- List<Expression> arguments = annotation.getArguments();
23
-
24
- if (arguments == null || arguments.isEmpty()) {
25
- return false;
26
- }
27
28
- boolean containsNoEmpty = arguments.stream().noneMatch(J.Empty.class::isInstance);
29
- return containsNoEmpty;
30
31
32
/**
33
* Extracts all assignments with the given argument name from the annotation
34
*
src/main/java/io/github/mboegers/openrewrite/testngtojupiter/helper/UsesAnnotation.java
0 commit comments