java110
2020-12-08 0032c293fdcf83cf399a4898e5965815455a4f22
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.java110.core.annotation;
 
 
import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component;
 
import java.lang.annotation.*;
 
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface Java110Synchronized {
 
    @AliasFor("key")
    String value() default "";
 
    @AliasFor("value")
    String key() default "";
}