net.dongliu.prettypb.runtime.include.ProtoMethod Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of prettypb-include Show documentation
Show all versions of prettypb-include Show documentation
necessary lib for proto beans compile
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 method as proto rpc
*
* @author Dong Liu
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface ProtoMethod {
/**
* the proto service rpc name
* @return
*/
String name();
}