@Override public Object[] getSupertypes(Object annotationType) { AnnotationTypeHierarchy hierarchy = getAnnotationTypeHierarchy(); AnnotationType type = hierarchy.getAnnotationType(annotationType.toString()); return type.getSuperTypes(); }