DBMethod getMethod( String name, DBType type, String signature_key)
{
DBMethod result;
String method_key=name+signature_key;
ObjectRef ref=(ObjectRef)m_methods.get( method_key);
if ( ref==null)
{
result=new DBMethod( this, name, type, signature_key);
m_methods.put( method_key, new ObjectRef(result));
ObjectDB.makeDirty( this);
}
else
{
result=(DBMethod)ref.getReferenced();
result.setDBType( type);
}
return result;
}