public Object optuserdata(Class c,Object defval){
  argerror(c.getName());
  return null;
}

public Object optuserdata ( Class c , Object defval ) { argerror ( c . getName ( ) ) ; return null ; }
check that optional argument is a userdata whose instance is of a type and return the object instance
