<@U014RF7ANH5> Does that seem expected or should I...
# ksp
j
@Jiaxiang Does that seem expected or should I file an issue?
🧵 2
j
Can you add a sample code for this? It can help me understand your ask
j
Sure
Copy code
class Foo extends GenBase<String> {
    public String getName() {
        return "test";
    }
}

abstract class GenBase<T> {
    abstract T getName();
    
    public T getOther() {
        return (T) "other";
    }
}
calling
getAllFunctions
on the
Foo
declaration returns the
getOther
function declaration
calling
closestClassDeclaration
on the function declaration returns
Foo
when I think it should return
GenBase
j
makes sense, please file an issue 👍