Is there a way to write a listener that will be called for every method call ? For example, I want to call methodListener() from Parent which will get annotations from methodN.
public class Parent() {
void methodListener() {}
}
public class Child extends Parent {
void method1() {}
void method2() {}
void method3() {}
}
Aucun commentaire:
Enregistrer un commentaire