private static boolean isAnnoInsideModifierListWithAtLeastOneKeyword(@NotNull ASTNode current, @NotNull ASTNode parent) {
    if (current.getElementType() != JavaElementType.ANNOTATION || parent.getElementType() != JavaElementType.MODIFIER_LIST) return false;
    while (true) {
      current = FormatterUtil.getPreviousNonWhitespaceSibling(current);
      if (current instanceof PsiKeyword) {
        ASTNode grandParent = parent.getTreeParent();
        return grandParent != null && grandParent.getElementType() == JavaElementType.METHOD;
      }
      else if (current == null || current.getElementType() != JavaElementType.ANNOTATION) break;
    }
    return false;
  }
private static boolean isAnnoInsideModifierListWithAtLeastOneKeyword(@NotNull ASTNode current, @NotNull ASTNode parent)