Home > Back-end > Who knows what role the annotation? @ CustomAttributesAnnotation
Who knows what role the annotation? @ CustomAttributesAnnotation
Time:09-20
Look at the others code, Java entity class to turn XML, a field with the custom annotation @ CustomAttributesAnnotation And the key parameters="class", value="https://bbs.csdn.net/topics/sql-date" what is action? What is this principle? Don't have custom annotations online to find a lot of talking about this kind of
@ Target (ElementType FIELD) @ Retention (RetentionPolicy RUNTIME) Public @ interface CustomAttributesAnnotation { Public String value (the default) ""; Public String key (default) ""; }
CodePudding user response:
You may see the conversion process will understand what is the meaning of this