Class LocalVariable

  • All Implemented Interfaces:
    BytecodeAttribute

    public final class LocalVariable
    extends Object
    implements BytecodeAttribute
    Local variable attribute. Represents `LocalVariableTable` entry from bytecode attributes.
    Since:
    0.6
    • Constructor Detail

      • LocalVariable

        public LocalVariable​(org.objectweb.asm.tree.LocalVariableNode variable)
        Constructor.
        Parameters:
        variable - Local variable node.
      • LocalVariable

        public LocalVariable​(int index,
                             String name,
                             String descriptor,
                             String signature,
                             BytecodeLabel start,
                             BytecodeLabel end)
        Constructor.
        Parameters:
        index - Index of the local variable in the local variable array.
        name - Name of the local variable.
        descriptor - Descriptor of the local variable.
        signature - Signature of the local variable.
        start - Start label.
        end - End label.
        Suppressed Checkstyle violations:
        ParameterNumberCheck (10 lines)