RegexPropertyResolver uses regular expressions to find properties based on patterns configured for locating the read and write methods.
The patterns provided should produce a match where group(1) returns the name of the property. Note that the name will automatically be un-capitalized, so you need not worry about defining your regular expression to handle this.
Only no-argument getter methods returning a type are considered for a read method match, and only single-argument methods are considered for a write method match; the write method need not have a void return type.
The type of the setter method must be a sub-type (or matching type) of the getter method's type; if the getter method is a strict sub-type, then the type of the setter method will define the type of the property.
Example
"read([\w]+)Property" would match a method named 'readMySpecialProperty', and define the name of the corresponding property as 'MySpecial', which will be automatically un-capitalized to 'mySpecial'.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.