All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wildfly.clustering.marshalling.protostream.reflect.TernaryMethodMarshaller Maven / Gradle / Ivy

/*
 * Copyright The WildFly Authors
 * SPDX-License-Identifier: Apache-2.0
 */

package org.wildfly.clustering.marshalling.protostream.reflect;

import java.lang.reflect.Method;

/**
 * Generic marshaller based on three non-public accessor methods.
 * @param  the target type of this marshaller
 * @param  the first component accessor method return type
 * @param  the second component accessor method return type
 * @param  the third component accessor method return type
 * @author Paul Ferraro
 */
public class TernaryMethodMarshaller extends TernaryMemberMarshaller {

	public TernaryMethodMarshaller(Class type, Class member1Type, Class member2Type, Class member3Type, TriFunction factory) {
		super(type, Reflect::invoke, Reflect::findMethod, member1Type, member2Type, member3Type, factory);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy