# Uses of Interface
java.lang.classfile.instruction.ReturnInstruction

Packages that use ReturnInstructionPREVIEW
Package
Description
java.lang.classfile.instruction
Provides interfaces describing code instructions for the `java.lang.classfile`PREVIEW library.

- ## Uses of ReturnInstructionPREVIEW in java.lang.classfile.instructionPREVIEW

  Methods in java.lang.classfile.instructionPREVIEW that return ReturnInstructionPREVIEW
  Modifier and Type
  Method
  Description
  `static ReturnInstructionPREVIEW`
  ReturnInstruction.`of(OpcodePREVIEW op)`
  Returns a return instruction.
  `static ReturnInstructionPREVIEW`
  ReturnInstruction.`of(TypeKindPREVIEW typeKind)`
  Returns a return instruction.