Package org.openrewrite.java.style
Class ImportLayoutStyle.Builder
java.lang.Object
org.openrewrite.java.style.ImportLayoutStyle.Builder
- Enclosing class:
- ImportLayoutStyle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
classCountToUseStarImport
(int classCountToUseStarImport) importPackage
(String packageWildcard) importPackage
(String packageWildcard, Boolean withSubpackages) nameCountToUseStarImport
(int nameCountToUseStarImport) packageToFold
(String packageWildcard) packageToFold
(String packageWildcard, Boolean withSubpackages) staticImportPackage
(String packageWildcard) staticImportPackage
(String packageWildcard, Boolean withSubpackages) staticPackageToFold
(String packageWildcard) staticPackageToFold
(String packageWildcard, Boolean withSubpackages)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
importAllOthers
-
importStaticAllOthers
-
blankLine
-
importPackage
-
importPackage
-
staticImportPackage
public ImportLayoutStyle.Builder staticImportPackage(String packageWildcard, Boolean withSubpackages) -
staticImportPackage
-
packageToFold
-
packageToFold
-
staticPackageToFold
public ImportLayoutStyle.Builder staticPackageToFold(String packageWildcard, Boolean withSubpackages) -
staticPackageToFold
-
classCountToUseStarImport
-
nameCountToUseStarImport
-
build
-