SigTest Tool Source Code Description
The SigTest tool source code is divided into areas based on their
responsibility or whether they are general versus or specific.
Packages
The following packages are located under these directories:
src/share/classes/com/sun/tdk/signaturetest/
The package tree:
`-- com
`-- sun
`-- tdk
`-- signaturetest
|-- classpath
|-- core
|-- errors
|-- loaders
|-- merge
|-- model
|-- plugin
|-- sigfile
`-- util
com.sun.tdk.signaturetest
-
Contains top-level classes with functional entry points such as
Setup, Test, SetupAndTest and
Merge. Also, there are a few base utility classes in this
package such as Result and Version.
com.sun.tdk.signaturetest.classpath
-
Contains abstract classes for the defined ordered input set of
analyzed class files as well as their implementations for JAR file and
directory processing.
com.sun.tdk.signaturetest.core
-
Contains a number of classes responsible for test and setup logic,
represented class relationships and also some core utility
classes. For example ClassCorrector,
ClassDescriptionLoader, Erasurator,
ThrowsNormalizer, MemberCollectionBuilder
are classes that contain the main logic. Classes like
ClassSet, ClassHierarchy,
PackageGroup represent relationships between
classes. ClassLog is a core utility class.
com.sun.tdk.signaturetest.errors
-
Contains classes for formatting SigTest thrown errors.
com.sun.tdk.signaturetest.loaders
-
This package contains concrete implementations of
ClassDescriptionLoader such as
BinaryClassDescrLoader which reads class information via
parsing class files and ReflClassDescrLoader which does
the same via the reflection mechanism.
com.sun.tdk.signaturetest.merge
-
Contains classes responsible for APIs merging according JSR-68 rules.
com.sun.tdk.signaturetest.model
-
These are classes describing the internal object
model. ClassDescription, Modifier,
SuperInterface and AnnotationItem are
typical samples of these classes.
com.sun.tdk.signaturetest.plugin
-
Contains the tool's plugin API for custom extensions.
com.sun.tdk.signaturetest.sigfile
-
Classes for reading and writing signature files in different formats.
com.sun.tdk.signaturetest.util.
-
Different general purpose utility classes like CommandLineParser.
|