void (@NotNull PsiClass aClass) { if (aClass.isAnnotationType() || !SerializationUtils.isExternalizable(aClass)) { return; } final boolean hasReadObject = SerializationUtils.hasReadObject(aClass); final boolean hasWriteObject = SerializationUtils.hasWriteObject(aClass); if (!hasWriteObject && !hasReadObject) { return; } registerClassError(aClass, Boolean.valueOf(hasReadObject), Boolean.valueOf(hasWriteObject), aClass); }