Basic annotation tooling for RockSack to generate the necessary fields and methods for
storage and retrieval under the java.lang.Comparable interface as used throughout the language.
The ordering of the keys is defined here as the order in which they appear: i,j, and l. We
demonstrate method and field access and generate compareTo method and Externalizable interface
implementation with SerialUID. No modifications will affect the operation of the original class.
The original class will be backed up as TestTooling2.bak before modification.
CompareAndSerialize
annotation to designate the class as toolable. The
ComparisonOrderField
and
ComparisonOrderMethod
.
ClassTool