@Target(METHOD)
@Retention(RUNTIME)
public @interface ToString
String
.
This annotation should be applied to one method on a class.
The method must not be static. It must take no parameters and return a String
.
The string format must be able to be parsed by the matching @FromString on
the same class. The format should be human readable and an industry standard
where possible, for example ISO-8601 for dates and times.
Copyright © 2010–2018 Joda.org. All rights reserved.