boolean (@NotNull PsiMethod method) { if (method.hasModifierProperty(PRIVATE) && (SerializationUtils.isWriteObject(method) || SerializationUtils.isReadObject(method) || SerializationUtils.isReadObjectNoData(method))) { return true; } return isSerialMethodInExternalizable(method); }