code: public String[] getVarTypes()
      {
      TreeSet<String> typeSet = new TreeSet<String>();
      for( Iterator<IVarDef> vars = getVarDefs(); vars.hasNext(); )
        {
        typeSet.add( vars.next().getType());
        }
  
      String[] types = new String[ typeSet.size()];
      typeSet.toArray( types);
      return types;
      }
docs: Returns the set of {@link IVarDef#getType variable type} identifiers for this function.