Use MoreObjects.toStringHelper() instead of Objects.toStringHelper(), it is deprecated.
Documents
Fix assignment style.
Check precondition.
Documents.
Getting configuration via getConfig() on demand is better.