Value of @Route

Hi everyone. How can I get in the code the value of the annotation @Route of my view ? Thank you in advance.

getAnnotation can be used for that, there are multiple tutorials out there with examples

Thank you :wink:

You can find some idea from here ProtoTools/src/main/java/org/vaadin/addons/tatu/prototools/ at master · TatuLund/ProtoTools · GitHub

It is layout extending AppLayout which has process of auto populating the menu. IT does not need to lookup Route annotation, but it looks PageTitle annotation.