org.wildfly.clustering.marshalling.protostream.reflect.BinaryMemberMarshaller Maven / Gradle / Ivy
/*
* Copyright The WildFly Authors
* SPDX-License-Identifier: Apache-2.0
*/
package org.wildfly.clustering.marshalling.protostream.reflect;
import java.lang.reflect.Member;
import java.util.function.BiFunction;
/**
* Generic marshaller based on two non-public members.
* @param the target type of this marshaller
* @param the reflection member type
* @param the first component member type
* @param the second component member type
* @author Paul Ferraro
*/
public class BinaryMemberMarshaller extends AbstractMemberMarshaller {
private final Class member1Type;
private final Class member2Type;
private final BiFunction factory;
public BinaryMemberMarshaller(Class extends T> type, BiFunction
© 2015 - 2025 Weber Informatics LLC | Privacy Policy