Annotation Interface RPCFieldGetter


@Documented @Target(FIELD) @Retention(RUNTIME) public @interface RPCFieldGetter
An annotation which can be added to a field to indicate when generating a data class serializer, that a specific method should be used as the getter rather than either a direct field access or the best matching method.
Since:
4.0
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Get the name of the method (case-sensitive) to use as the getter for a specific field.
  • Element Details

    • value

      String value
      Get the name of the method (case-sensitive) to use as the getter for a specific field.
      Returns:
      the name of the getter method to use.