20 lines
510 B
Java
20 lines
510 B
Java
package quant.rich.emoney.annotation;
|
|
|
|
import static java.lang.annotation.ElementType.METHOD;
|
|
import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
|
|
|
import java.lang.annotation.Documented;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.Target;
|
|
|
|
/**
|
|
* 注解在方法上以获取对 EmoneyProtocol 的额外操作
|
|
*/
|
|
@Documented
|
|
@Retention(RUNTIME)
|
|
@Target(METHOD)
|
|
public @interface ResponseDecodeExtension {
|
|
String protocolId();
|
|
int order() default -1;
|
|
}
|