docs: static TypeSignature parse(final Parser parser, final String definingClass) throws ParseException {
          final ReferenceTypeSignature referenceTypeSignature = ReferenceTypeSignature
                  .parseReferenceTypeSignature(parser, definingClass);
          if (referenceTypeSignature != null) {
              return referenceTypeSignature;
          }
          final BaseTypeSignature baseTypeSignature = BaseTypeSignature.parse(parser);
          if (baseTypeSignature != null) {
              return baseTypeSignature;
          }
          return null;
      }