类 LabelNode


public class LabelNode extends AbstractInsnNode
An AbstractInsnNode that encapsulates a Label.
  • 构造器详细资料

    • LabelNode

      public LabelNode()
    • LabelNode

      public LabelNode(Label label)
  • 方法详细资料

    • getType

      public int getType()
      从类复制的说明: AbstractInsnNode
      Returns the type of this instruction.
      指定者:
      getType 在类中 AbstractInsnNode
      返回:
      the type of this instruction, i.e. one the constants defined in this class.
    • getLabel

      public Label getLabel()
      Returns the label encapsulated by this node. A new label is created and associated with this node if it was created without an encapsulated label.
      返回:
      the label encapsulated by this node.
    • accept

      public void accept(MethodVisitor methodVisitor)
      从类复制的说明: AbstractInsnNode
      Makes the given method visitor visit this instruction.
      指定者:
      accept 在类中 AbstractInsnNode
      参数:
      methodVisitor - a method visitor.
    • clone

      public AbstractInsnNode clone(Map<LabelNode,LabelNode> clonedLabels)
      从类复制的说明: AbstractInsnNode
      Returns a copy of this instruction.
      指定者:
      clone 在类中 AbstractInsnNode
      参数:
      clonedLabels - a map from LabelNodes to cloned LabelNodes.
      返回:
      a copy of this instruction. The returned instruction does not belong to any InsnList.
    • resetLabel

      public void resetLabel()