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

Bug 340307

Summary: A simple way of ordering IASTListeners
Product: z_Archived Reporter: Jurgen Vinju <jurgen.vinju>
Component: IMPAssignee: Robert M. Fuhrer <rfuhrer>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Jurgen Vinju CLA 2011-03-17 08:56:04 EDT
The current ordering is implemented using AnalysisRequired levels is ad-hoc.

Let's have every IASTListener implement Comparable<IASTListener>. Now, if an IASTListener thinks it has to run before or after some other IASTListener it can use its implementation of compareTo to order it.

Cheers