mirror of https://gitee.com/stylefeng/roses
【7.2.5】【rule】增加格式化注解可以加在方法上,一般可加在get方法
parent
252d82b234
commit
664dc705f6
|
@ -37,7 +37,7 @@ import java.lang.annotation.*;
|
||||||
*/
|
*/
|
||||||
@Inherited
|
@Inherited
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
@Target({ElementType.FIELD})
|
@Target({ElementType.FIELD, ElementType.METHOD})
|
||||||
public @interface SimpleFieldFormat {
|
public @interface SimpleFieldFormat {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue