Concrete implementations should be private #2704
Labels
difficulty-02-ducky
Resolving these involves the internal API, but with relatively easy problems to solve.
enhancement
Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope.
feature-inspections
up-for-grabs
Use this label in conjunction with a difficulty level label, e.g. difficulty-02-ducky
By default, the VBE makes interface member implementations (/event handlers)
Private
, which leaves the member invisible to consumers of the concrete type, but visible to consumers of the interface.We need an inspection that finds
Public
interface implementations, with a quick-fix that makes themPrivate
.The catch is that doing that might break callers if the callers are written against the concrete type, so the inspection's meta description should mention that.
The text was updated successfully, but these errors were encountered: