[an error occurred while processing this directive]

JavaClass Class Implementation Specifications


Client Specifications

Implementation Data Model

Much of the data in a JavaClass object is simple references to other objects: source code package and file, parent class, and documentation text. Getters and setters are implemented for the simple references in the obvious way.

The information about interfaces, variables, and methods is maintained in Vector objects. Methods for adding and removing these data items is implemented by calls to Vector add and remove methods. Methods for traversing variables and methods are implemented using Enumeration objects retrieved from the corresponding Vector objects.

Instance Variables

Public Method Algorithms

Most of the methods for the JavaClass class have straightforward implementations. Exceptions are noted below. [an error occurred while processing this directive]