@Retention(value=RUNTIME) @Target(value=FIELD) public @interface Property
Here is an example of how this annotation is meant to be used:
public class MyClass {
@Property("host") String myHost;
@Property("port") int myPort;
...
}
NOTE: The default value ("") indicates that the field name
will be used as the property key.
PropertiesToObjectMapperpublic abstract String value
Copyright © 2022. All rights reserved.