Nevermind, I forgot that you need to use
--LuaManager.GlobalObject's :
---@public
---@param arg0 Object
---@param arg1 int
---@return Field
function getClassField(arg0, arg1) end
---@public
---@param arg0 Object
---@param arg1 Field
---@return Object
function getClassFieldVal(arg0, arg1) end
to access a Java Object's public fields / members.
the arg1 param for getClassField is the sequence of fields / members as compiled in the .java source