Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 371055

Summary: [Pattern Query] IQuery execute method requires List<Object>
Product: [Modeling] EMF.EGF Reporter: Matthieu Helleboid <matthieu.helleboid>
Component: CoreAssignee: Thomas Guiu <thomas.guiu>
Status: ASSIGNED --- QA Contact:
Severity: normal    
Priority: P3 CC: benoit.langlois
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
proposed implementation none

Description Matthieu Helleboid CLA 2012-02-09 05:25:06 EST
Build Identifier: 

org.eclipse.egf.pattern.query.IQuery execute method requires to return List<Object>. But it should not be limited to this type and it should be possible to return List<?> (meaning List<? extends Object>).

Also the pattern generated code using this query also assigns the result to a List<Object>...

Reproducible: Always
Comment 1 Matthieu Helleboid CLA 2012-02-09 10:38:29 EST
Created attachment 210805 [details]
proposed implementation