code: public static Feature getRequiredFeature(Type type, String featureName,
        String rangeType) throws AnalysisEngineProcessException {
  
      Feature feature = getRequiredFeature(type, featureName);
  
      checkFeatureType(feature, rangeType);
  
      return feature;
    }
docs: Retrieves a required feature from the given type.
  
  @param type the type
  @param featureName the name of the feature
  @param rangeType the expected range type
  @return the requested parameter
  
  @throws AnalysisEngineProcessException