# Uses of Interface
java.lang.classfile.attribute.LineNumberInfo

Packages that use LineNumberInfoPREVIEW
Package
Description
java.lang.classfile.attribute
Provides interfaces describing classfile attributes for the `java.lang.classfile`PREVIEW library.

- ## Uses of LineNumberInfoPREVIEW in java.lang.classfile.attributePREVIEW

  Methods in java.lang.classfile.attributePREVIEW that return LineNumberInfoPREVIEW
  Modifier and Type
  Method
  Description
  `static LineNumberInfoPREVIEW`
  LineNumberInfo.`of(int startPc, int lineNumber)`
  Returns a line number description.
  Methods in java.lang.classfile.attributePREVIEW that return types with arguments of type LineNumberInfoPREVIEW
  Modifier and Type
  Method
  Description
  `List<LineNumberInfoPREVIEW>`
  LineNumberTableAttribute.`lineNumbers()`
  Returns the table mapping bytecode offsets to source line numbers.
  Method parameters in java.lang.classfile.attributePREVIEW with type arguments of type LineNumberInfoPREVIEW
  Modifier and Type
  Method
  Description
  `static LineNumberTableAttributePREVIEW`
  LineNumberTableAttribute.`of(List<LineNumberInfoPREVIEW> lines)`
  Returns a `LineNumberTable` attribute.