Skip to content

Commit

Permalink
Remove unused methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Philzen committed Jun 22, 2024
1 parent 6e1243b commit 594d745
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,6 @@
*/
public final class AnnotationArguments {

/**
* Determines if the annotation has any arguments
*/
public static boolean hasAny(J.Annotation annotation) {
List<Expression> arguments = annotation.getArguments();

if (arguments == null || arguments.isEmpty()) {
return false;
}

boolean containsNoEmpty = arguments.stream().noneMatch(J.Empty.class::isInstance);
return containsNoEmpty;
}

/**
* Extracts all assignments with the given argument name from the annotation
*
Expand Down

This file was deleted.

0 comments on commit 594d745

Please sign in to comment.