java annotations: library to override annotations with xml files

后端 未结 4 1230
花落未央
花落未央 2021-02-07 16:32

Java has annotations and that is good. However, some developers feel that it is best to annotate code with metadata using xml files - others prefer annotations but would use met

4条回答
  •  野的像风
    2021-02-07 17:05

    It's not exactly what you want, but the backport175 project has an implementation of annotations for Java versions before Java 5.

    It has some of the functionality you search in that it will read both its own style implementations and "real" annotations if they are present. Maybe this can be used as a starting point to build a more general framework.

提交回复
热议问题