code: public Entity getEntityBySchemaAndTableName(String schemaName, String tableName) {
          return currentEntitiesBySchemaAndTableName.get(Table.keyForMap(schemaName, tableName));
      }
docs: Return the entity corresponding to the passed table. In case of inheritance, the root entity is returned.