code: public String getSchemaName(String name) {
          return name == null ? currentSchema.name
                              : database.schemaManager.getSchemaName(name);
      }
docs: Same as above, but return string