Module java.base
Package java.lang.classfile

# Enum ClassFile.LineNumbersOption

≠
public static final enum LineNumbersOption
extends java.lang.Enum<java.lang.classfile.ClassFile.LineNumbersOption>
implements java.lang.classfile.ClassFile.Option
Comparing master and cf

All Implemented Interfaces:
  `Serializable, ClassFile.Option, Comparable<ClassFile.LineNumbersOption>, Constable`

Enclosing interface:
  `ClassFile`

public static enum ClassFile.LineNumbersOption extends Enum<ClassFile.LineNumbersOption> implements ClassFile.Option
Option The option describing whether to process or discard line numbers. Discarding line numbers may reduce the overhead of parsing or transforming classfiles. Default `LineNumber` s in the traversal of a `CodeModel` or a `CodeBuilder` . The default is `Moved to a link with destination #PASS_LINE_NUMBERS.PASS_LINE_NUMBERS` Moved to a link with destination #PASS_LINE_NUMBERS. to process all line number entries as all other `CodeElement` .

Discarding line Moved to a paragraph.numbers may reduce the overhead of parsing or transforming `class` files and has no impact on the run-time behaviorMoved to a paragraph..

Since:
  24
See Also:
  Moved to a definition list with class notes.Moved to a definition.Moved to an unordered list with class tag-list.
  - `ClassFile.DebugElementsOption`

## Enum Constants

- ≠
  DROP_LINE_NUMBERS
  Comparing master and cf

  ### DROP_LINE_NUMBERS

  public static final ClassFile.LineNumbersOption DROP_LINE_NUMBERS
  Drop line numbers `LineNumber` from traversal and builders.
- ≠
  PASS_LINE_NUMBERS
  Comparing master and cf

  ### PASS_LINE_NUMBERS

  public static final ClassFile.LineNumbersOption PASS_LINE_NUMBERS
  Process line numbers `LineNumber` like other member elements of a `CodeModel` .

## Methods

- =
  public static java.lang.classfile.ClassFile.LineNumbersOption valueOf(java.lang.String arg0)
- =
  public static java.lang.classfile.ClassFile.LineNumbersOption[] values()

## Summary

Differences
| Elements | Comments | Descriptions | Total
Added | Changed | Removed | Added | Changed | Removed | Added | Changed | Removed
--- | --- | --- | --- | --- | --- | --- | --- | ---
ClassFile.LineNumbersOption |  |  |  |  |  |  | 11 | 3 | 1 | 15
DROP_LINE_NUMBERS |  |  |  |  |  |  | 1 | 1 |  | 2
PASS_LINE_NUMBERS |  |  |  |  |  |  | 2 | 1 |  | 3
Total |  |  |  |  |  |  | 14 | 5 | 1 | 20