private String format(StellarFunctionInfo info){
  StringBuffer ret=new StringBuffer();
  ret.append(info.getName() + "\n");
  ret.append(String.format("Description: %-60s\n\n",info.getDescription()));
  if (info.getParams().length > 0) {
    ret.append("Arguments:\n");
    for (    String param : info.getParams()) {
      ret.append(String.format("\t%-60s\n",param));
    }
    ret.append("\n");
  }
  ret.append(String.format("Returns: %-60s\n",info.getReturns()));
  return ret.toString();
}

private String format ( StellarFunctionInfo info ) { StringBuffer ret = new StringBuffer ( ) ; ret . append ( info . getName ( ) + "\n" ) ; ret . append ( String . format ( "Description: %-60s\n\n" , info . getDescription ( ) ) ) ; if ( info . getParams ( ) . length > 0 ) { ret . append ( "Arguments:\n" ) ; for ( String param : info . getParams ( ) ) { ret . append ( String . format ( "\t%-60s\n" , param ) ) ; } ret . append ( "\n" ) ; } ret . append ( String . format ( "Returns: %-60s\n" , info . getReturns ( ) ) ) ; return ret . toString ( ) ; }
formats the stellar function info object into a readable string .
