I am creating an eclipse plugin using Xtext. I am able to form a customized message.This customized message is displayed on hover. However, this message basically contains the name of the elements already present in the program. For example, consider a sample program:

class A{

public void sayHello(){

}
public void sayHallo(){

}

public void sayBonjour(){

}

}

When I hover over class A, I am able to see the name of methods present in class 'A' .Here these methods are "say Hello", "sayHallo", "sayBonjour". However, I want to make these label clickable so that they can navigate to their declaration in the program i.e. on the hover message if I click on sayHallo it should go to its declaration sayHallo(marked in bold).