Used to add the new property to the generate class.
It should be put on the method.
If
Dynamic is also found on this method, it means this method is the dynamic property method.
If there is no
Dynamic found on this method, it means this method is the static property method.
The static property method should look like this:
public static PropertyType methodName(SourceType source)
The dynamic property method should look like this:
public static PropertyType methodName(@InjectProperty TypeOfPropertyA a, @InjectProperty TypeOfPropertyB b, ...)
The static property is initialized in the constructor or read method, and has a related field in the generated class.
However the dynamic property is calculated in the getter method, and has not a related field in the generated class.