wt.tools.xref.specs
Interface Spec
- All Known Implementing Classes:
- BaseTypeSpec, PackageSpec
- public interface Spec
This interface serves as the parent for all the Spec classes:
PackageSpec, ClassInterfaceSpec, MethodSpec and FieldSpec
There are two reasons for these classes:
1. to provide a single means of producing package, class, method and field
specifications for the where used tools.
2. The only instance of these Spec objects will be in one of the four master container:
packageMasterList, classInterfaceMasterList, methodMasterList and fieldMasterList. The
other containers in the system in ClassInterface, Method and Field objects, will be KEY'd
with a reference to one of these spec's as opposed to an actual instance! This should
greatly speed up the where used introspection tool.
Method Summary |
String |
toSortString()
This method is used in sorting containers of Spec objects. |
toSortString
public String toSortString()
- This method is used in sorting containers of Spec objects.