- All Superinterfaces:
ClassfileElement,CodeElement,PseudoInstruction
- All Known Implementing Classes:
LineNumberImpl
A pseudo-instruction which models a single entry in the
LineNumberTableAttribute. Delivered as a CodeElement
during traversal of the elements of a CodeModel, according to
the setting of the Classfile.Option.processLineNumbers(boolean) option.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionintline()Returns the line number.static LineNumberof(int line) Returns a line number pseudo-instruction.
-
Method Details
-
line
int line()Returns the line number.- Returns:
- the line number
-
of
Returns a line number pseudo-instruction.- Parameters:
line- the line number- Returns:
- a line number pseudo-instruction
-