Example usage for Java org.eclipse.jdt.core.util CompilationUnitSorter fields, constructors, methods, implement or subclass
The text is from its open source code.
String | RELATIVE_ORDER Name of auxillary property whose value can be used to determine the original relative order of two body declarations. |
void | sort(int level, ICompilationUnit compilationUnit, int[] positions, Comparator comparator, int options, IProgressMonitor monitor) Reorders the declarations in the given compilation unit according to the specified AST level. |
void | sort(ICompilationUnit compilationUnit, int[] positions, Comparator comparator, int options, IProgressMonitor monitor) Reorders the declarations in the given compilation unit according to JLS2 rules. |
TextEdit | sort(CompilationUnit unit, Comparator comparator, int options, TextEditGroup group, IProgressMonitor monitor) Reorders the declarations in the given compilation unit according to the specified comparator. |