public static boolean isReadExternal(@NotNull PsiMethod method) {
    final PsiClassType type = TypeUtils.getType("java.io.ObjectInput", method);
    return MethodUtils.methodMatches(method, null, PsiTypes.voidType(), "readExternal", type);
  }
public static boolean isReadExternal(@NotNull PsiMethod method)