mardi 12 mars 2019

Invoke method before annotated another one

I'm trying to add functionality into an interface method signature by using annotations.

the idea is to invoke some another methods fore each annotated one.

for example if I have this method signature:

public interface IMyInterface{

    @Entity(visibileName = "Name")
    public TextField getName();
}

I need to invoke a method that print the string name before, after this method. also if their is any way to define a functionality to this method on run time.

I'm also opened to structural changes.





Aucun commentaire:

Enregistrer un commentaire