PseudoInstruction (Java SE 23 & JDK 23)
Description: declaration: module: java.base, package: java.lang.classfile, interface: PseudoInstruction
Keywords: java.lang.classfile.PseudoInstruction interface

# Interface PseudoInstruction

All Superinterfaces:
  `ClassFileElementPREVIEW`, `CodeElementPREVIEW`

All Known Subinterfaces:
  `CharacterRangePREVIEW`, `ExceptionCatchPREVIEW`, `LabelTargetPREVIEW`, `LineNumberPREVIEW`, `LocalVariablePREVIEW`, `LocalVariableTypePREVIEW`

public sealed interface PseudoInstruction extends CodeElementPREVIEW permits CharacterRangePREVIEW, ExceptionCatchPREVIEW, LabelTargetPREVIEW, LineNumberPREVIEW, LocalVariablePREVIEW, LocalVariableTypePREVIEW (not exhaustive)
`PseudoInstruction` is a preview API of the Java platform.
Programs can only use `PseudoInstruction` when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Models metadata about a `CodeAttribute`PREVIEW, such as entries in the exception table, line number table, local variable table, or the mapping between instructions and labels. Pseudo-instructions are delivered as part of the element stream of a `CodeModel`PREVIEW. Delivery of some pseudo-instructions can be disabled by modifying the value of classfile options (e.g., `ClassFile.DebugElementsOption`PREVIEW).

Since:
  22