@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface MemberGetter
void
or of the enclosing class, are recognized
as a member getter/setter pair even without annotation. This behavior can be
changed by annotating the methods with the Function
annotation.
A member getter either needs to return a value or accept a primitive array as argument. The value returned is assumed to come from a member variable, but anything that follows the same syntax as member variable access could potential work with this annotation. For getters with a return value, all arguments are considered as indices to access a member array.
Generator
Copyright © 2020. All rights reserved.