Package org.openrewrite.java.tree
Class J.DoWhileLoop.Padding
- java.lang.Object
-
- org.openrewrite.java.tree.J.DoWhileLoop.Padding
-
- Enclosing class:
- J.DoWhileLoop
public static class J.DoWhileLoop.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<Statement>
getBody()
JLeftPadded<J.ControlParentheses<Expression>>
getWhileCondition()
J.DoWhileLoop
withBody(JRightPadded<Statement> body)
J.DoWhileLoop
withWhileCondition(JLeftPadded<J.ControlParentheses<Expression>> whileCondition)
-
-
-
Method Detail
-
getBody
public JRightPadded<Statement> getBody()
-
withBody
public J.DoWhileLoop withBody(JRightPadded<Statement> body)
-
getWhileCondition
public JLeftPadded<J.ControlParentheses<Expression>> getWhileCondition()
-
withWhileCondition
public J.DoWhileLoop withWhileCondition(JLeftPadded<J.ControlParentheses<Expression>> whileCondition)
-
-