Can execute Java code with Scala using Gatling load testing

Hi Team,

I have different scenarios that used to get data by using different java libraries so here I am trying to use Scala, java code mixture in Gatling but it looks bit confusing to use a combination of Java, Scala and Gatling. Could somebody help me if have any example code of these combinations?

Thanks,
Ratnesh.