code: public FilterInfo verifyFilter(String sFilterCode) throws org.codehaus.groovy.control.CompilationFailedException, IllegalAccessException, InstantiationException {
          Class groovyClass = compileGroovy(sFilterCode);
          Object instance = instanciateClass(groovyClass);
          checkZuulFilterInstance(instance);
          BaseFilter filter = (BaseFilter) instance;
  
  
          String filter_id = FilterInfo.buildFilterID(ZuulApplicationInfo.getApplicationName(), filter.filterType(), groovyClass.getSimpleName());
  
          return new FilterInfo(filter_id, sFilterCode, filter.filterType(), groovyClass.getSimpleName(), filter.disablePropertyName(), "" + filter.filterOrder(), ZuulApplicationInfo.getApplicationName());
      }
docs: verifies compilation, instanciation and that it is a ZuulFilter
  
  @param sFilterCode
  @return a FilterInfo object representing that code
  @throws org.codehaus.groovy.control.CompilationFailedException
  
  @throws IllegalAccessException
  @throws InstantiationException