We have a huge project in which many methods were announced in advance, and implementations are carried out. All declared methods have a body that simply throws an exception, say, UnimplException. Now, since the methods have been declared and the actual (compiled) body has been provided, they can be called from other methods.
Now the question is, is there a way to list all such unrealized (having only a compiled body, throwing a specific exception) methods defined by a particular method?
To illustrate more (code should convey an idea, not a strictly compiler):
class A {
methA () {
throw new UnimplException();
}
}
class B {
methB () {
A.methA();
}
}
class C {
methC () {
B.methB();
}
}
, , , methC, , methA, methC methB ( , ), methA , , .
, , .
JavaAssist, , , , , , , .
:)