Accessing property values in Annotations

后端 未结 2 1488
借酒劲吻你
借酒劲吻你 2021-01-25 11:28

I want to access a property value in my annotation, as an attribute\'s value.

For ex. in my property file I have an entry expression: 3/10 * * * * ?.

<
2条回答
  •  日久生厌
    2021-01-25 12:07

    You can try to use the APT (annotation processing tool) to replace the value in the annotation with a value from the property file.

提交回复
热议问题