有什么办法可以获取一个类的所有超级注释?

例如:

@SubAnnotation
public class Test {
    public static void main(String args[]){
        Annotation[] annotations = Test.class.getAnnotations();
        for(Annotation annot: annotations){
            System.out.println(annot);
        }
    }
}

@Retention(RetentionPolicy.RUNTIME)
@SuperAnnotation
public @interface SubAnnotation {
}

如何在Test.class上获取SuperAnnotation?