public boolean renameFunction( Class<? extends CallableFunction> clazz, String newName ) throws UnknownFunctionException
{
FunctionWrapper fw = mFunctionMap.get( clazz );
if( clazz == null )
{
UnknownFunctionException exc = new UnknownFunctionException( "Unknown function: " + clazz.getName() );
sfLogger.log( Level.WARNING, "Unknown function tried to rename.", exc );
}
String old = fw.getFunctionName();
fw.setFunctionName( newName );
sfLogger.log( Level.INFO, "Renamed function from " + old + " to " + newName );