Package io.airlift.bytecode.control
Class DoWhileLoop
- java.lang.Object
-
- io.airlift.bytecode.control.DoWhileLoop
-
- All Implemented Interfaces:
BytecodeNode,FlowControl
public class DoWhileLoop extends Object implements FlowControl
-
-
Constructor Summary
Constructors Constructor Description DoWhileLoop()DoWhileLoop(String format, Object... args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(BytecodeNode parent, BytecodeVisitor<T> visitor)voidaccept(org.objectweb.asm.MethodVisitor visitor, MethodGenerationContext generationContext)BytecodeBlockbody()DoWhileLoopbody(BytecodeNode node)BytecodeBlockcondition()DoWhileLoopcondition(BytecodeNode node)List<BytecodeNode>getChildNodes()StringgetComment()LabelNodegetContinueLabel()LabelNodegetEndLabel()
-
-
-
Method Detail
-
getComment
public String getComment()
- Specified by:
getCommentin interfaceFlowControl
-
getContinueLabel
public LabelNode getContinueLabel()
-
getEndLabel
public LabelNode getEndLabel()
-
body
public BytecodeBlock body()
-
body
public DoWhileLoop body(BytecodeNode node)
-
condition
public BytecodeBlock condition()
-
condition
public DoWhileLoop condition(BytecodeNode node)
-
accept
public void accept(org.objectweb.asm.MethodVisitor visitor, MethodGenerationContext generationContext)- Specified by:
acceptin interfaceBytecodeNode
-
getChildNodes
public List<BytecodeNode> getChildNodes()
- Specified by:
getChildNodesin interfaceBytecodeNode
-
accept
public <T> T accept(BytecodeNode parent, BytecodeVisitor<T> visitor)
- Specified by:
acceptin interfaceBytecodeNode
-
-