The Doclet API (also called the Javadoc API) provides a mechanism for clients to inspect the source-level structure of programs and libraries, including javadoc comments embedded in the source.
The core of SDS is the Code Structure Format (CSF) which collects most interesting information about source code which can be easily utilised by tools.