I need to access local variables as Verb and not a Noun. Is there any java api available that can do that?

One good question to ask is; why on earth do you need that?

If you have a GCV and expand the GCV using ~gcv~ (the Text noun). It will automatically expand all local variables inside that
gcv as long as they are surrounded by $.

When you work with a structured GCV that's not possible (not what I know). Instead I iterate the instances and store the GCV as
a local variable using xpath. The noun Local Variable will not resolve other local variables inside that lv and $lv$ with Text
noun won't either.

My idea is to feed a verb with a noun (or use a java api) that will resolve those local variables but I haven't found any way to
do that...

Best regards,