Java org.eclipse.jdt.core.util CompilationUnitSorter fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.core.util CompilationUnitSorter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.core.util CompilationUnitSorter.

The text is from its open source code.

Field

StringRELATIVE_ORDER
Name of auxillary property whose value can be used to determine the original relative order of two body declarations.

Method

voidsort(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.
voidsort(ICompilationUnit compilationUnit, int[] positions, Comparator comparator, int options, IProgressMonitor monitor)
Reorders the declarations in the given compilation unit according to JLS2 rules.
TextEditsort(CompilationUnit unit, Comparator comparator, int options, TextEditGroup group, IProgressMonitor monitor)
Reorders the declarations in the given compilation unit according to the specified comparator.