protected void definingClass(String className){
  String baseName=Name.suffix(className,1);
  int i=baseName.indexOf("$");
  if (i != -1)   baseName=baseName.substring(i + 1);
  String cur=(String)definingClassesBaseNames.get(baseName);
  if (cur != null)   throw new InterpreterError("Defining class problem: " + className + ": BeanShell cannot yet simultaneously define two or more "+ "dependent classes of the same name.  Attempt to define: "+ className+ " while defining: "+ cur);
  definingClasses.put(className,NOVALUE);
  definingClassesBaseNames.put(baseName,className);
}

protected void definingClass ( String className ) { String baseName = Name . suffix ( className , 1 ) ; int i = baseName . indexOf ( "$" ) ; if ( i != - 1 ) baseName = baseName . substring ( i + 1 ) ; String cur = ( String ) definingClassesBaseNames . get ( baseName ) ; if ( cur != null ) throw new InterpreterError ( "Defining class problem: " + className + ": BeanShell cannot yet simultaneously define two or more " + "dependent classes of the same name.  Attempt to define: " + className + " while defining: " + cur ) ; definingClasses . put ( className , NOVALUE ) ; definingClassesBaseNames . put ( baseName , className ) ; }
flag the class name as being in the process of being defined . the class manager will not attempt to load it .
