Adding clickable link to gitlab source code (java language)

Hi Team,

I’m trying to add some link as clickable link/hyperlink in source code (eg: java code) to navigate to the link page but its not working as per expectation but the same is working fine in the markdown file.

Please suggest me to proceed further