}
public Object scope_EntityMemberCall_head(final ScreenListItemCell ctx, final EReference ref) {
Object _xblockexpression = null;
{
Type _elvis = null;
RESTMethodCall _restMethod = null;
if (ctx!=null) {
_restMethod=ctx.getRestMethod();
}
DataSourceCall _datasource = null;
if (_restMethod!=null) {
_datasource=_restMethod.getDatasource();
}
DataSource _datasource_1 = null;
if (_datasource!=null) {
_datasource_1=_datasource.getDatasource();
}
Entity _resourceType = null;
if (_datasource_1!=null) {
_resourceType=_datasource_1.getResourceType();
}
if (_resourceType != null) {
_elvis = _resourceType;
} else {
Screen _screen = this.screen(ctx);
Parameter _inputParameter = _screen.getInputParameter();
Type _type = _inputParameter.getType();
_elvis = ObjectExtensions.<Type>operator_elvis(_resourceType, _type);
}
final Type type = _elvis;
Object _attributesScope = this.attributesScope(type);
_xblockexpression = (_attributesScope);
}
return _xblockexpression;
}