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

com.liubs.shadowrpcfly.server.annotation.ShadowServiceHolder Maven / Gradle / Ivy

There is a newer version: 1.0.3
Show newest version
package com.liubs.shadowrpcfly.server.annotation;

import java.lang.annotation.Annotation;

/**
 * @author Liubsyy
 * @date 2023/12/18 10:51 PM
 **/
public class ShadowServiceHolder  {

    private T annotation;
    private Class classz;

    public ShadowServiceHolder(T annotation, Class classz) {
        this.annotation = annotation;
        this.classz = classz;
    }

    public T getAnnotation() {
        return annotation;
    }

    public void setAnnotation(T annotation) {
        this.annotation = annotation;
    }

    public Class getClassz() {
        return classz;
    }

    public void setClassz(Class classz) {
        this.classz = classz;
    }

    @Override
    public String toString() {
        return "ShadowServiceHolder{" +
                "annotation=" + annotation +
                ", classz=" + classz +
                '}';
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy