I have a package:
CREATE PACKAGE my_pkg
IS
g_var NUMBER;
END;
/
Is there any way I can query SYS views, to find that this package has this global variable? I'm interested in explicit variable name and data type.
P.S. Parsing user_source does not count.
Edit: I would like to do that without introducing getter/setter functions.