public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: "Ἀλκείδης FP" <alcides.fp@gmail.com>
To: Damien Mattei <damien.mattei@gmail.com>
Cc: kawa mailing list <kawa@sourceware.org>
Subject: Re: accessor, getter setter for kawa class
Date: Mon, 16 Oct 2023 05:41:09 -0600	[thread overview]
Message-ID: <CAKWd2AgXFQsbZo=DgLnG-628AH9i3MBGXgSbf6n0UCQP3sJcMQ@mail.gmail.com> (raw)
In-Reply-To: <CADEOadeLO20Dv883+Wf=wXMW=JnBZQuq-=LipiCPh6As2kHeSA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 494 bytes --]

Hi Damien.

AFAIK, there aren't such predefinded accesors in Kawa classes.

To achieve the same goal I usually do one of the following:

a) Leave the field as public and use it directly.

b) Define a parent class (abstract or not) in Java and use Lombok
annotations (@Getter, @Setter, @Data, etc)

Greetings.

El lun., 16 de octubre de 2023 6:19, Damien Mattei via Kawa <
kawa@sourceware.org> escribió:

> are there predefined getter or setter for a field of a kawa class?
>

  reply	other threads:[~2023-10-16 11:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-16 11:18 Damien Mattei
2023-10-16 11:41 ` Ἀλκείδης FP [this message]
2023-10-16 13:30   ` Damien Mattei
2023-10-16 16:43     ` Alcides Flores

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKWd2AgXFQsbZo=DgLnG-628AH9i3MBGXgSbf6n0UCQP3sJcMQ@mail.gmail.com' \
    --to=alcides.fp@gmail.com \
    --cc=damien.mattei@gmail.com \
    --cc=kawa@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).