code: private static TypeQualifierAnnotation getDirectTypeQualifierAnnotation(AnnotatedObject o,
              TypeQualifierValue<?> typeQualifierValue) {
          TypeQualifierAnnotation result;
  
          Set<TypeQualifierAnnotation> applications = new HashSet<>();
          getDirectApplications(applications, o, o.getElementType());
  
          result = findMatchingTypeQualifierAnnotation(applications, typeQualifierValue);
  
          return result;
      }
docs: Get a directly-applied TypeQualifierAnnotation on given AnnotatedObject.
  
  @param o
  an AnnotatedObject
  @param typeQualifierValue
  the kind of TypeQualifierValue we are looking for
  @return directly-applied TypeQualifierAnnotation, or null if there is no
  such annotation on the AnnotatedObject