Interface LocalVariableTypeTableAttribute

All Superinterfaces:
Attribute<LocalVariableTypeTableAttribute>, ClassfileElement, WritableElement<LocalVariableTypeTableAttribute>
All Known Implementing Classes:
BoundAttribute.BoundLocalVariableTypeTableAttribute, UnboundAttribute.UnboundLocalVariableTypeTableAttribute

Models the LocalVariableTypeTable attribute , which can appear on a Code attribute, and records debug information about local variables. Delivered as a LocalVariable when traversing the elements of a CodeModel, according to the setting of the Classfile.Option.processLineNumbers(boolean) option.
  • Method Details

    • localVariableTypes

      List<LocalVariableTypeInfo> localVariableTypes()
      Returns debug information for the local variables in this method.
      Returns:
      debug information for the local variables in this method
    • of

      Returns a LocalVariableTypeTable attribute.
      Parameters:
      locals - the local variable descriptions
      Returns:
      a LocalVariableTypeTable attribute