code: public static FieldAnalyzer findAnalyzer(FieldDefinition fieldDef) {
          Utils.require(fieldDef.isScalarField(), "Must be a scalar field: %s", fieldDef);
          
          String analyzerName = fieldDef.getAnalyzerName();
          Utils.require(analyzerName != null, "Scalar field has no analyzer: %s", fieldDef);
          return findAnalyzer(analyzerName);
      }
docs: Return the singleton instance of the {@link FieldAnalyzer} class for the given
  scalar field. If the field's analyzer name does not contain a package path, the
  default {@value #DEFAULT_ANALYZER_PACKAGE} is prepended to it. If no analyzer with
  the given name can be found, an IllegalArgumentException is thrown.
  
  @param fieldDef  {@link FieldDefinition} of a scalar field.
  @return          Singleton instance object defined for the scalar field.