类 CombinationAnnotationInvocationHandler<A extends Annotation>
- java.lang.Object
-
- cc.shacocloud.mirage.utils.annotation.CombinationAnnotationInvocationHandler<A>
-
- 所有已实现的接口:
InvocationHandler
public class CombinationAnnotationInvocationHandler<A extends Annotation> extends Object implements InvocationHandler
合成注解调用处理程序基于源注解生成代理对象以支持复杂逻辑使用
- 作者:
- 思追(shaco)
-
-
构造器概要
构造器 构造器 说明 CombinationAnnotationInvocationHandler(@NotNull CombinationAnnotationElement annotation, @NotNull Class<A> annotationType)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static <A extends Annotation>
AcreateProxy(@NotNull CombinationAnnotationElement annotation, @NotNull Class<A> annotationType)创建注解的代理对象Objectinvoke(Object proxy, Method method, Object[] args)
-
-
-
构造器详细资料
-
CombinationAnnotationInvocationHandler
public CombinationAnnotationInvocationHandler(@NotNull @NotNull CombinationAnnotationElement annotation, @NotNull @NotNull Class<A> annotationType)
-
-
方法详细资料
-
invoke
public Object invoke(Object proxy, Method method, Object[] args)
- 指定者:
invoke在接口中InvocationHandler
-
createProxy
@NotNull public static <A extends Annotation> A createProxy(@NotNull @NotNull CombinationAnnotationElement annotation, @NotNull @NotNull Class<A> annotationType)
创建注解的代理对象- 类型参数:
A- 注解泛型- 参数:
annotation- 注解- 返回:
- 返回代理对象
-
-