code: public AnnotationType[] getAnnotationTypes() {
        if (annotationType.isEmpty()) {
           return new AnnotationType[]{Types.TOKEN};
        }
        return annotationType.toArray(new AnnotationType[annotationType.size()]);
     }
docs: Gets annotation type.
  
  @return the annotation type