Do not loop through all Annotations.

Instead, use getClassAnnotation directly.