* Returns the annotation finder for the given annotation type.
* @param pAnnotationType the annotation type
* @return the annotation finder for the given annotation type.
*/
public IAnnotationFinder getAnnotationFinder(String pAnnotationType) {
AnnotationTypeEnum annotationType = AnnotationTypeEnum.valueOf(pAnnotationType);
if (AnnotationTypeEnum.JDK != annotationType) {
throw new TestNGException("Javadoc annotations are no longer supported. Either" +
" update your tests to JDK annotations or use TestNG 5.11.");
}
return m_configuration.getAnnotationFinder();