boolean (@NotNull PsiField field) { PsiType type = field.getType(); if (PsiTypes.intType().equals(type)) { return isAtomicWrite(field, ATOMIC_INTEGER_FIELD_UPDATER); } if (PsiTypes.longType().equals(type)) { return isAtomicWrite(field, ATOMIC_LONG_FIELD_UPDATER); } if (!(type instanceof PsiPrimitiveType)) { return isAtomicWrite(field, ATOMIC_REFERENCE_FIELD_UPDATER); } return false; }