List of usage examples for org.eclipse.jdt.core.util CompilationUnitSorter sort
public static void sort(int level, ICompilationUnit compilationUnit, int[] positions, Comparator comparator, int options, IProgressMonitor monitor) throws JavaModelException
From source file:com.github.parzonka.ccms.sorter.RandomMethodSorter.java
License:Open Source License
@Override public void sort(ICompilationUnit cu) { try {//from w w w . j a v a 2 s. c o m CompilationUnitSorter.sort(3, cu, null, createComparator(cu), 0, null); } catch (final JavaModelException e) { throw new RuntimeException(e); } }