forked from plusone/plusone-commons
修改 Target 和 Retention。
parent
85c6bf012c
commit
efc732fe8d
|
@ -4,8 +4,10 @@ import java.lang.annotation.ElementType;
|
|||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import java.lang.annotation.Documented;
|
||||
|
||||
@Target(ElementType.METHOD)
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
@Documented
|
||||
@Target({ ElementType.CONSTRUCTOR, ElementType.METHOD })
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface UnsupportedOperation {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue