@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface ValueGetter
put(), where the number of parameters are either equal, in the case of arrays, or differs by one where the type of the extra parameter is the same as the return value of the other, and the remaining return value types are
voidor of the enclosing class, are recognized as a value getter/setter pair even without annotation. This behavior can be changed by annotating the methods with the
A value getter either needs to return a value or accept a primitive array as argument. The value returned is assumed to come from pointer dereference, but anything that follows the same syntax as pointer dereferencing could potential work with this annotation. For getters with a return value, all arguments are considered as indices to access a value array.
Copyright © 2017. All rights reserved.