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

org.spincast.plugins.jacksonjson.JsonMixinInfoDefault Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version
package org.spincast.plugins.jacksonjson;

/**
 * An simple implementation of JsonMixinInfo.
 */
public class JsonMixinInfoDefault implements JsonMixinInfo {

    private final Class targetClass;
    private final Class mixinClass;

    public JsonMixinInfoDefault(Class targetClass, Class mixinClass) {
        this.targetClass = targetClass;
        this.mixinClass = mixinClass;
    }

    @Override
    public Class getTargetClass() {
        return this.targetClass;
    }

    @Override
    public Class getMixinClass() {
        return this.mixinClass;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy