jameskleeh
12/21/2021, 4:19 PMJiaxiang
12/21/2021, 6:24 PMjameskleeh
12/21/2021, 7:52 PMjameskleeh
12/21/2021, 7:52 PMclass Foo extends GenBase<String> {
public String getName() {
return "test";
}
}
abstract class GenBase<T> {
abstract T getName();
public T getOther() {
return (T) "other";
}
}
jameskleeh
12/21/2021, 7:53 PMgetAllFunctions
on the Foo
declaration returns the getOther
function declarationjameskleeh
12/21/2021, 7:53 PMclosestClassDeclaration
on the function declaration returns Foo
jameskleeh
12/21/2021, 7:53 PMGenBase
Jiaxiang
12/21/2021, 8:06 PM