Package org.openrewrite.java.style
Class ImportLayoutStyle.LayoutState
java.lang.Object
org.openrewrite.java.style.ImportLayoutStyle.LayoutState
- Enclosing class:
ImportLayoutStyle
The in-progress state of a single layout operation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclaimImport(ImportLayoutStyle.Block block, JRightPadded<org.openrewrite.java.tree.J.Import> import_) List<JRightPadded<org.openrewrite.java.tree.J.Import>>
-
Constructor Details
-
LayoutState
public LayoutState()
-
-
Method Details
-
claimImport
public void claimImport(ImportLayoutStyle.Block block, JRightPadded<org.openrewrite.java.tree.J.Import> import_) -
getImports
public List<JRightPadded<org.openrewrite.java.tree.J.Import>> getImports(ImportLayoutStyle.Block block)
-