public List<SqlDatabase> listDatabases() {
final RecommendedElasticPoolImpl self = this;
PagedListConverter<DatabaseInner, SqlDatabase> converter = new PagedListConverter<DatabaseInner, SqlDatabase>() {
@Override
public SqlDatabase typeConvert(DatabaseInner databaseInner) {
<BUG>return new SqlDatabaseImpl(databaseInner.name(), databaseInner, self.databasesInner, self.manager());
}</BUG>
};
return converter.convert(ReadableWrappersImpl.convertToPagedList(
<BUG>this.recommendedElasticPoolsInner.listDatabases(
</BUG>
this.resourceGroupName(),

public List<SqlDatabase> listDatabases() {
final RecommendedElasticPoolImpl self = this;
PagedListConverter<DatabaseInner, SqlDatabase> converter = new PagedListConverter<DatabaseInner, SqlDatabase>() {
@Override
public SqlDatabase typeConvert(DatabaseInner databaseInner) {
return new SqlDatabaseImpl(databaseInner.name(), databaseInner, self.manager());
}
};
return converter.convert(ReadableWrappersImpl.convertToPagedList(
this.manager().inner().recommendedElasticPools().listDatabases(
this.resourceGroupName(),
