SQLJ functions and SQLJ stored procedures are Java methods wrapped in SQL wrappers.
SQLJ functions and SQLJ stored procedures are database objects for which you can list dependencies. The only dependencies of SQLJ stored procedures and SQLJ functions are Java classes.
If objname is a SQLJ stored procedure or SQLJ function, sp_depends lists the Java class in the routine’s external name declared in the create statement, not classes specified as the return type or datatypes in the parameter list.
SQLJ stored procedures and SQLJ functions can be listed as dependencies of other database objects.
See Java in Adaptive Server Enterprise for more information.