//Label abc = new Label();
abc.setTooltipText("TEST"); //look here
What I have is a MethodReference. With that object I find out that the method 'setTooltipText' is invoked on object 'abc', but how to get the type of this object? I need a method which will return 'Label'.
Any help is appreciated.
Matthias
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Let's say we have the following statement:
//Label abc = new Label();
abc.setTooltipText("TEST"); //look here
What I have is a MethodReference. With that object I find out that the method 'setTooltipText' is invoked on object 'abc', but how to get the type of this object? I need a method which will return 'Label'.
Any help is appreciated.
Matthias