static public String getAnnotationSuperType (Annotation annotation)
{
String superType = null;
if (TestPageLink.class.isAssignableFrom(annotation.annotationType())) {
TestPageLink testLink = (TestPageLink)annotation;
superType = testLink.superType();
}
else if (TestStager.class.isAssignableFrom(annotation.annotationType())) {
TestStager testLink = (TestStager)annotation;
superType = testLink.superType();
}
else if (TestDestager.class.isAssignableFrom(annotation.annotationType())) {
TestDestager testLink = (TestDestager)annotation;
superType = testLink.superType();
}
else if (TestValidator.class.isAssignableFrom(annotation.annotationType())) {
TestValidator testValidator = (TestValidator)annotation;
superType = testValidator.superType();
}