jameskleeh
12/21/2021, 4:19 PMJiaxiang
12/21/2021, 6:24 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";
}
}
getAllFunctions
on the Foo
declaration returns the getOther
function declarationclosestClassDeclaration
on the function declaration returns Foo
GenBase
Jiaxiang
12/21/2021, 8:06 PM