code: public void declareBean (BSFDeclaredBean bean)
          throws BSFException
      {
          try {
              interpreter.set( bean.name, bean.bean);
          } catch ( EvalError e ) {
              throw new BSFException(BSFException.REASON_OTHER_ERROR, "error declaring bean: "+bean.name
              +" : "+e, e);
          }
      }
docs: /*
  public void compileApply (String source, int lineNo, int columnNo,
  Object funcBody, Vector paramNames, Vector arguments, CodeBuffer cb)
  throws BSFException;
  
  public void compileExpr (String source, int lineNo, int columnNo,
  Object expr, CodeBuffer cb) throws BSFException;
  
  public void compileScript (String source, int   lineNo, int columnNo,
  Object script, CodeBuffer cb) throws BSFException;