moosetechnology / Famix

An abstract representation of source code. Famix is generic and can describe applications in multiple programming languages.
MIT License
12 stars 22 forks source link

`overridingMethods` on Java interface methods does not work properly #723

Closed LABSARI closed 4 months ago

LABSARI commented 4 months ago
interface I{

    void foo(){
        System.out.println("I.foo()");
    }
}
class A implements I{

    @Override
    void foo(){
        System.out.println("A.foo()");
    }
}

Method foo from interface I is overridden in class A. And overridingMethods on that method does not catch the overriding method.