Package io.airlift.bytecode
Class Comment
- java.lang.Object
-
- io.airlift.bytecode.Comment
-
- All Implemented Interfaces:
BytecodeNode,InstructionNode
public class Comment extends Object implements InstructionNode
-
-
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)List<BytecodeNode>getChildNodes()StringgetComment()StringtoString()
-
-
-
Field Detail
-
comment
protected final String comment
-
-
Constructor Detail
-
Comment
public Comment(String comment)
-
-
Method Detail
-
getComment
public String getComment()
-
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
-
-