code: public static Association associate(final Object object) {
      return new Association() {
  
        @Override
        public Association withChild(Object child) {
          associate(child, object);
          return this;
        }
  
        @Override
        public Association withParent(Object parent) {
          associate(object, parent);
          return this;
        }
      };
    }
docs: Create an {@code Association} instance for the supplied object.
  
  @param object the object to be associated
  @return an association instance