public static boolean isOneOf(@Nullable ASTNode node, IElementType @NotNull ... types) {
    if (node == null) return false;
    IElementType elementType = node.getElementType();
    return ArrayUtil.contains(elementType, types);
  }
public static boolean isOneOf(@Nullable ASTNode node, IElementType @NotNull ... types)