From: Per Bothner <per@bothner.com>
To: Panicz Maciej Godek <godek.maciek@gmail.com>, kawa <kawa@sourceware.org>
Subject: Re: Class does not implement the requested interface
Date: Wed, 3 Jan 2024 17:18:49 -0800 [thread overview]
Message-ID: <874a87f8-29d2-4ee9-bbff-ef8a4e023728@bothner.com> (raw)
In-Reply-To: <CAMFYt2ZE01=RN_FWpS=qXzh1m6hDfTWcHcYd7cSAcKgTWj6y8A@mail.gmail.com>
On 1/3/24 15:33, Panicz Maciej Godek via Kawa wrote:
> The thing is, that all the required methods from the interface WithCursor
> are implemented by NoEditor.
>
> But I wonder why Kawa claims that the interface isn't implemented when
> clearly all the required methods are present.
Kawa, like Java, requires an interface to be *explicitly* implemented by a class.
It is not enough to implement all the methods of the interface.
--
--Per Bothner
per@bothner.com http://per.bothner.com/
next prev parent reply other threads:[~2024-01-04 1:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-03 23:33 Panicz Maciej Godek
2024-01-04 1:18 ` Per Bothner [this message]
2024-01-04 6:59 ` Panicz Maciej Godek
2024-01-04 9:49 ` Panicz Maciej Godek
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=874a87f8-29d2-4ee9-bbff-ef8a4e023728@bothner.com \
--to=per@bothner.com \
--cc=godek.maciek@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).