public class ModifierOrderer extends Object
Constructor and Description |
---|
ModifierOrderer() |
Modifier and Type | Method and Description |
---|---|
static String |
reorderModifiers(String text)
Reorders all modifiers in the given text to be in JLS order.
|
static String |
reorderModifiers(String text,
Collection<Range<Integer>> characterRanges)
Reorders all modifiers in the given text and within the given character ranges to be in JLS
order.
|
public static String reorderModifiers(String text) throws FormatterException
FormatterException
public static String reorderModifiers(String text, Collection<Range<Integer>> characterRanges) throws FormatterException
FormatterException
Copyright © 2015–2016 Google Inc.. All rights reserved.