if (annotationClass == null)
throw new NullPointerException("Null annotation");
String searchName = annotationClass.getName();
for (Object annotation : getAnnotationsInternal(constructor))
{
AnnotationImpl impl = (AnnotationImpl) Proxy.getInvocationHandler(annotation);
if (searchName.equals(impl.getTypeName()))
return (Annotation)annotation;
}
return null;
}