Class ImportOrderParser

java.lang.Object
com.google.errorprone.ImportOrderParser

public final class ImportOrderParser
extends Object
Parse import order strings.
  • Method Details

    • getImportOrganizer

      public static ImportOrganizer getImportOrganizer​(String importOrder)
      Parse import order string and create appropriate ImportOrganizer.
      Parameters:
      importOrder - the import order, either static-first or static-last.
      Returns:
      the ImportOrganizer