Lukasz Kalnik
03/13/2023, 12:11 PMpublic class
to implement an internal interface
?mankin
03/13/2023, 12:54 PMMyClass
is never used elsewhere.
Either use it somewhere or add @Suppress("UNUSED")
on top of the class.
Note: the warning can be there for a good reason, suppressing it only makes sense for libraries and you do not want to add test for that class.Lukasz Kalnik
03/13/2023, 12:56 PMMyClass
should be underscored squiggly red, as it is a public class
which extends an internal interface
.mankin
03/13/2023, 1:00 PMinternal
just means it's not visible outside the current module/project, if it's in the same module/project it's compile fine I would say (it might fail if you return/expose the interface as a type in some method)Lukasz Kalnik
03/13/2023, 1:04 PMpublic
class would then be able to expose an internal
interface to outside codemankin
03/13/2023, 1:14 PMLukasz Kalnik
03/13/2023, 1:22 PMinternal
interface are still publicly visible...