Abstract
Documentation process plays a great role in software systems development and maintenance, and regarded as an important feature for all software projects and programs in general. In the past, documents had been generated manually by documents writers, but these documents were very weak and had many errors, Therefore, automated documentation had been invented due to its good features that is complete, precise, and cheap compared with manual ways.
The work concerns with constructing an automated tool ADT(Auto Documentation Tool) used for documenting source code for programs written in java programming languages in legacy systems particularly and for programs in general which does not have any documentation at all or it were documented poorly in order to make them, and producing as a result of the document process either the class diagrams using UML (Unified Modeling Language( or producing easy understandable textual output using XML (Extensible Markup Language).