Overview
Commit 4a80396 made me realize it would actually be straightforward to implement the same logic for toString() for synthesized annotations.
|
/** |
|
* This method currently does not address the following issues which we may |
|
* choose to address at a later point in time. |
|
* |
|
* <ul> |
|
* <li>non-ASCII, non-visible, and non-printable characters within a character |
|
* or String literal are not escaped.</li> |
|
* <li>formatting for float and double values does not take into account whether |
|
* a value is not a number (NaN) or infinite.</li> |
|
* </ul> |
|
* @param value the attribute value to format |
|
* @return the formatted string representation |
|
*/ |
Related Issues
Overview
Commit 4a80396 made me realize it would actually be straightforward to implement the same logic for
toString()for synthesized annotations.spring-framework/spring-core/src/main/java/org/springframework/core/annotation/SynthesizedMergedAnnotationInvocationHandler.java
Lines 162 to 174 in e92bf76
Related Issues