Package java.lang.classfile.instruction
package java.lang.classfile.instruction
java.lang.classfile.instruction
is a preview API of the Java platform.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Provides interfaces describing code instructions for the java.lang.classfile
PREVIEW library.
The java.lang.classfile.attribute
package contains interfaces describing code instructions.- Since:
- 22
-
ClassDescriptionPreview.Models an array load instruction in the
code
array of aCode
attribute.Preview.Models an array store instruction in thecode
array of aCode
attribute.Preview.Models a branching instruction (conditional or unconditional) in thecode
array of aCode
attribute.Preview.A pseudo-instruction which models a single entry in theCharacterRangeTableAttribute
PREVIEW.Preview.Models a constant-load instruction in thecode
array of aCode
attribute, including "intrinsic constant" instructions (e.g.,iconst_0
), "argument constant" instructions (e.g.,bipush
), and "load constant" instructions (e.g.,LDC
).Preview.Models an "argument constant" instruction (e.g.,bipush
).Preview.Models an "intrinsic constant" instruction (e.g.,iconst_0
).Preview.Models a "load constant" instruction (e.g.,ldc
).Preview.Models a primitive conversion instruction in thecode
array of aCode
attribute, such asi2l
.Preview.Models instruction discontinued from thecode
array of aCode
attribute.Preview.Models JSR and JSR_W instructions discontinued from thecode
array of aCode
attribute since class file version 51.0.Preview.Models RET and RET_W instructions discontinued from thecode
array of aCode
attribute since class file version 51.0.Preview.A pseudo-instruction modeling an entry in the exception table of a code attribute.Preview.Models a field access instruction in thecode
array of aCode
attribute.Preview.Models a local variable increment instruction in thecode
array of aCode
attribute.Preview.Models aninvokedynamic
instruction in thecode
array of aCode
attribute.Preview.Models a method invocation instruction in thecode
array of aCode
attribute, other thaninvokedynamic
.Preview.A pseudo-instruction which indicates that the specified label corresponds to the current position in theCode
attribute.Preview.A pseudo-instruction which models a single entry in theLineNumberTableAttribute
PREVIEW.Preview.Models a local variable load instruction in thecode
array of aCode
attribute.Preview.A pseudo-instruction which models a single entry in theLocalVariableTableAttribute
PREVIEW.Preview.A pseudo-instruction which models a single entry in theLocalVariableTypeTableAttribute
PREVIEW.Preview.Models alookupswitch
instruction in thecode
array of aCode
attribute.Preview.Models amonitorenter
ormonitorexit
instruction in thecode
array of aCode
attribute.Preview.Models amultianewarray
invocation instruction in thecode
array of aCode
attribute.Preview.Models anew
instruction in thecode
array of aCode
attribute.Preview.Models anewarray
invocation instruction in thecode
array of aCode
attribute.Preview.Models aanewarray
invocation instruction in thecode
array of aCode
attribute.Preview.Models anop
invocation instruction in thecode
array of aCode
attribute.Preview.Models an arithmetic operator instruction in thecode
array of aCode
attribute.Preview.Models a return-from-method instruction in thecode
array of aCode
attribute.Preview.Models a stack manipulation instruction in thecode
array of aCode
attribute.Preview.Models a local variable store instruction in thecode
array of aCode
attribute.Preview.Models a single case in alookupswitch
ortableswitch
instruction.Preview.Models atableswitch
instruction in thecode
array of aCode
attribute.Preview.Models anathrow
instruction in thecode
array of aCode
attribute.Preview.Models aninstanceof
orcheckcast
instruction in thecode
array of aCode
attribute.
java.lang.classfile.instruction
when preview features are enabled.