Package org.openrewrite.java.tree
Class J.ForLoop.Control.Padding
- java.lang.Object
-
- org.openrewrite.java.tree.J.ForLoop.Control.Padding
-
- Enclosing class:
- J.ForLoop.Control
public static class J.ForLoop.Control.Padding extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Padding()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JRightPadded<Expression>
getCondition()
JRightPadded<Statement>
getInit()
java.util.List<JRightPadded<Statement>>
getUpdate()
J.ForLoop.Control
withCondition(JRightPadded<Expression> condition)
J.ForLoop.Control
withInit(JRightPadded<Statement> init)
J.ForLoop.Control
withUpdate(java.util.List<JRightPadded<Statement>> update)
-
-
-
Method Detail
-
getInit
public JRightPadded<Statement> getInit()
-
withInit
public J.ForLoop.Control withInit(JRightPadded<Statement> init)
-
getCondition
public JRightPadded<Expression> getCondition()
-
withCondition
public J.ForLoop.Control withCondition(JRightPadded<Expression> condition)
-
getUpdate
public java.util.List<JRightPadded<Statement>> getUpdate()
-
withUpdate
public J.ForLoop.Control withUpdate(java.util.List<JRightPadded<Statement>> update)
-
-