跳到主要内容

TargetId

注解中 Identifier 的替代品。

@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({})
public @interface TargetId {
/**
* The Namespace
*
* @return {@link String }
*/
String namespace() default "";

/**
* The Path
*
* @return {@link String }
*/
String value();
}