Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Partial implementation #4777

Open
delanym opened this issue Jan 17, 2025 · 0 comments
Open

[Feature Request] Partial implementation #4777

delanym opened this issue Jan 17, 2025 · 0 comments

Comments

@delanym
Copy link
Contributor

delanym commented Jan 17, 2025

Suppose interface A defines 2 methods getX() and getY().
Now suppose class B implements getX() but doesn't implement the interface A.

I would like a warning if a class C that extends class B implements interface A (and method getY()) but not getX() (since it is already provided by the superclass).

I discovered this by trying to inline the interface A (since I noticed it had only one implementation). The IDE did that, but converted class B into an abstract class so that the "unimplemented" methods would be retained in that class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant