https://kotlinlang.org logo
d

df

08/28/2020, 2:31 PM
hey.. is is possible to refactor a method argument of a concrete class into an Interface? Example:
public void doSth(Foo foo)
should become
public void doSth(FooInterface foo)
and FooInterface provides all methods used in doSth?