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

net.dongliu.prettypb.runtime.include.ProtoBean Maven / Gradle / Ivy

The newest version!
package net.dongliu.prettypb.runtime.include;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * used to mark a bean as proto type
 *
 * @author Dong Liu
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface ProtoBean {
    /**
     * the proto message name
     * @return
     */
    String name();

    /**
     * the proto package
     */
    String protoPackage() default "";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy