To enable a test generator to process a new annotation type:
if (packet instanceof IRecorderAnnotationPacket) {
IRecorderAnnotationPacket p = (IRecorderAnnotationPacket) packet;
RecorderAnnotation annotation = getContext().resolveAnnotation(p);
if (annotation == null) return true;
if (MY_ANNOTATION_TYPE.equals(annotation.getType())) {
// Add code to process the annotation
return true;
}
}