Label.java
385 Bytes
package com.lframework.xingyun.sc;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME) // 必须是 RUNTIME,才能在运行时通过反射读取
@Target(ElementType.FIELD) // 用于字段
public @interface Label {
String value();
}