Package org.openrewrite.java.style
Class ImportLayoutStyle.ImportLayoutConflictDetection
java.lang.Object
org.openrewrite.java.style.ImportLayoutStyle.ImportLayoutConflictDetection
- Enclosing class:
ImportLayoutStyle
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisPackageFoldable(String packageName) Checks if folding the package will create a namespace conflict with any other classes that have already been imported.
-
Method Details
-
isPackageFoldable
Checks if folding the package will create a namespace conflict with any other classes that have already been imported.- Parameters:
packageName- package that qualifies for folding into a '*'.- Returns:
- folding the package will not create any namespace conflicts.
-