public final class OracleExternalDepClassifier extends Object
Instead of creating virtual nodes for these well-known Oracle constructs,
they are marked as external dependencies (ExternalCallEdge),
keeping the call graph focused on user-defined code entities.
Classification types:
BUILTIN_FUNCTION — scalar built-in functions (NVL, TO_CHAR, etc.)AGGREGATE_FUNCTION — aggregate functions (SUM, COUNT, etc.)CONVERSION_FUNCTION — type conversion functions (TO_NUMBER, CAST, etc.)SYSTEM_PACKAGE — DBMS_*, UTL_*, SYS.* package callsSYSTEM_FUNCTION — system utility functions (RAISE_APPLICATION_ERROR, etc.)| Modifier and Type | Method and Description |
|---|---|
static String |
classify(String name)
Classifies the external dependency type.
|
static boolean |
isExternal(String name)
Returns true if the given call name is a known Oracle external dependency
(built-in function, system package call, etc.).
|
static boolean |
isSecuritySensitive(String name)
Returns true if the name is security-sensitive (audit-worthy).
|
public static boolean isExternal(String name)
For qualified names like "DBMS_OUTPUT.PUT_LINE", checks the package prefix. For unqualified names like "NVL", checks the built-in function set.
public static String classify(String name)
public static boolean isSecuritySensitive(String name)