import static java.util.Objects.requireNonNull;
-import com.google.common.base.MoreObjects.ToStringHelper;
import com.google.common.collect.ImmutableMap;
import java.lang.invoke.MethodHandles;
import java.lang.invoke.VarHandle;
return super.codecAugmentedEquals(other) && augmentations().equals(BindingReflections.getAugmentations(other));
}
- @Override
- final ToStringHelper codecAugmentedFillToString(final ToStringHelper helper) {
- return super.codecAugmentedFillToString(helper).add("augmentation", augmentations().values());
- }
-
private ImmutableMap<Class<? extends Augmentation<T>>, Augmentation<T>> acquireAugmentations() {
return (ImmutableMap<Class<? extends Augmentation<T>>, Augmentation<T>>) CACHED_AUGMENTATIONS.getAcquire(this);
}