添加 StaticFactoryMethod 注解。

feature/net-util
ZhouXY108 2023-04-15 13:43:02 +08:00
parent 1b4958f5f6
commit ef65a583b1
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
package xyz.zhouxy.plusone.commons.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* StaticFactoryMethod
*
* <p>
*
* @author <a href="https://gitee.com/zhouxy108">ZhouXY</a>
* @since 1.0
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface StaticFactoryMethod {
Class<?> type();
}