private static boolean isVoid(@NotNull JvmType type) {
    return type instanceof JvmPrimitiveType && ((JvmPrimitiveType)type).getKind() == JvmPrimitiveTypeKind.VOID;
  }
private static boolean isVoid(@NotNull JvmType type)