Uses of Interface
com.google.errorprone.apply.ImportOrganizer
-
Uses of ImportOrganizer in com.google.errorprone
Modifier and TypeMethodDescriptionstatic ImportOrganizer
ImportOrderParser.getImportOrganizer
(String importOrder) Parse import order string and create appropriateImportOrganizer
. -
Uses of ImportOrganizer in com.google.errorprone.apply
Modifier and TypeClassDescriptionclass
Organizes imports based on the default format provided by IntelliJ IDEA.Modifier and TypeFieldDescriptionstatic final ImportOrganizer
ImportOrganizer.ANDROID_STATIC_FIRST_ORGANIZER
AnImportOrganizer
that sorts import statements according to Android Code Style, with static imports first.static final ImportOrganizer
ImportOrganizer.ANDROID_STATIC_LAST_ORGANIZER
AnImportOrganizer
that sorts import statements according to Android Code Style, with static imports last.static final ImportOrganizer
ImportOrganizer.IDEA_ORGANIZER
AnImportOrganizer
that organizes imports based on the default format provided by IntelliJ IDEA.static final ImportOrganizer
ImportOrganizer.STATIC_FIRST_ORGANIZER
AnImportOrganizer
that sorts import statements according to the Google Java Style Guide, i.e.static final ImportOrganizer
ImportOrganizer.STATIC_LAST_ORGANIZER
AnImportOrganizer
that sorts import statements so that non-static imports come first, and static and non-static separated by blank line.Modifier and TypeMethodDescriptionstatic DescriptionBasedDiff
DescriptionBasedDiff.create
(com.sun.tools.javac.tree.JCTree.JCCompilationUnit compilationUnit, ImportOrganizer importOrganizer) static ImportStatements
ImportStatements.create
(com.sun.tools.javac.tree.JCTree.JCCompilationUnit compilationUnit, ImportOrganizer importOrganizer) static DescriptionBasedDiff
DescriptionBasedDiff.createIgnoringOverlaps
(com.sun.tools.javac.tree.JCTree.JCCompilationUnit compilationUnit, ImportOrganizer importOrganizer)