接口 Opcodes
- 所有已知子接口:
CompilablePropertyAccessor
- 所有已知实现类:
Assign,BeanReference,BooleanLiteral,CodeFlow,CompoundExpression,ConstructorReference,Elvis,FloatLiteral,FunctionReference,Identifier,Indexer,InlineList,InlineMap,IntLiteral,Literal,LongLiteral,MapAccessor,MethodReference,NullLiteral,OpAnd,OpDec,OpDivide,OpEQ,Operator,OperatorBetween,OperatorInstanceof,OperatorMatches,OperatorNot,OperatorPower,OpGE,OpGT,OpInc,OpLE,OpLT,OpMinus,OpModulus,OpMultiply,OpNE,OpOr,OpPlus,Projection,PropertyOrFieldReference,QualifiedIdentifier,RealLiteral,ReflectivePropertyAccessor.OptimalPropertyAccessor,Selection,SpelCompiler,SpelNodeImpl,StringLiteral,Ternary,TypeReference,VariableReference
public interface Opcodes
The JVM opcodes, access flags and array type codes. This interface does not define all the JVM opcodes because some opcodes are automatically handled. For example, the xLOAD and xSTORE opcodes are automatically replaced by xLOAD_n and xSTORE_n opcodes when possible. The xLOAD_n and xSTORE_n opcodes are therefore not defined in this interface. Likewise for LDC, automatically replaced by LDC_W or LDC2_W when necessary, WIDE, GOTO_W and JSR_W.- 作者:
- Eric Bruneton, Eugene Kuleshov
- 另请参阅:
- JVMS 6
字段概要
字段 修饰符和类型 字段 说明 static intAALOADstatic intAASTOREstatic intACC_ABSTRACTstatic intACC_ANNOTATIONstatic intACC_BRIDGEstatic intACC_DEPRECATEDstatic intACC_ENUMstatic intACC_FINALstatic intACC_INTERFACEstatic intACC_MANDATEDstatic intACC_MODULEstatic intACC_NATIVEstatic intACC_OPENstatic intACC_PRIVATEstatic intACC_PROTECTEDstatic intACC_PUBLICstatic intACC_STATICstatic intACC_STATIC_PHASEstatic intACC_STRICTstatic intACC_SUPERstatic intACC_SYNCHRONIZEDstatic intACC_SYNTHETICstatic intACC_TRANSIENTstatic intACC_TRANSITIVEstatic intACC_VARARGSstatic intACC_VOLATILEstatic intACONST_NULLstatic intALOADstatic intANEWARRAYstatic intARETURNstatic intARRAYLENGTHstatic intASM4static intASM5static intASM6static intASM7static intASM8_EXPERIMENTAL已过时。This API is experimental.static intASTOREstatic intATHROWstatic intBALOADstatic intBASTOREstatic intBIPUSHstatic intCALOADstatic intCASTOREstatic intCHECKCASTstatic intD2Fstatic intD2Istatic intD2Lstatic intDADDstatic intDALOADstatic intDASTOREstatic intDCMPGstatic intDCMPLstatic intDCONST_0static intDCONST_1static intDDIVstatic intDLOADstatic intDMULstatic intDNEGstatic IntegerDOUBLEstatic intDREMstatic intDRETURNstatic intDSTOREstatic intDSUBstatic intDUPstatic intDUP_X1static intDUP_X2static intDUP2static intDUP2_X1static intDUP2_X2static intF_APPENDA compressed frame where locals are the same as the locals in the previous frame, except that additional 1-3 locals are defined, and with an empty stack.static intF_CHOPA compressed frame where locals are the same as the locals in the previous frame, except that the last 1-3 locals are absent and with an empty stack.static intF_FULLA compressed frame with complete frame data.static intF_NEWAn expanded frame.static intF_SAMEA compressed frame with exactly the same locals as the previous frame and with an empty stack.static intF_SAME1A compressed frame with exactly the same locals as the previous frame and with a single value on the stack.static intF2Dstatic intF2Istatic intF2Lstatic intFADDstatic intFALOADstatic intFASTOREstatic intFCMPGstatic intFCMPLstatic intFCONST_0static intFCONST_1static intFCONST_2static intFDIVstatic intFLOADstatic IntegerFLOATstatic intFMULstatic intFNEGstatic intFREMstatic intFRETURNstatic intFSTOREstatic intFSUBstatic intGETFIELDstatic intGETSTATICstatic intGOTOstatic intH_GETFIELDstatic intH_GETSTATICstatic intH_INVOKEINTERFACEstatic intH_INVOKESPECIALstatic intH_INVOKESTATICstatic intH_INVOKEVIRTUALstatic intH_NEWINVOKESPECIALstatic intH_PUTFIELDstatic intH_PUTSTATICstatic intI2Bstatic intI2Cstatic intI2Dstatic intI2Fstatic intI2Lstatic intI2Sstatic intIADDstatic intIALOADstatic intIANDstatic intIASTOREstatic intICONST_0static intICONST_1static intICONST_2static intICONST_3static intICONST_4static intICONST_5static intICONST_M1static intIDIVstatic intIF_ACMPEQstatic intIF_ACMPNEstatic intIF_ICMPEQstatic intIF_ICMPGEstatic intIF_ICMPGTstatic intIF_ICMPLEstatic intIF_ICMPLTstatic intIF_ICMPNEstatic intIFEQstatic intIFGEstatic intIFGTstatic intIFLEstatic intIFLTstatic intIFNEstatic intIFNONNULLstatic intIFNULLstatic intIINCstatic intILOADstatic intIMULstatic intINEGstatic intINSTANCEOFstatic IntegerINTEGERstatic intINVOKEDYNAMICstatic intINVOKEINTERFACEstatic intINVOKESPECIALstatic intINVOKESTATICstatic intINVOKEVIRTUALstatic intIORstatic intIREMstatic intIRETURNstatic intISHLstatic intISHRstatic intISTOREstatic intISUBstatic intIUSHRstatic intIXORstatic intJSRstatic intL2Dstatic intL2Fstatic intL2Istatic intLADDstatic intLALOADstatic intLANDstatic intLASTOREstatic intLCMPstatic intLCONST_0static intLCONST_1static intLDCstatic intLDIVstatic intLLOADstatic intLMULstatic intLNEGstatic IntegerLONGstatic intLOOKUPSWITCHstatic intLORstatic intLREMstatic intLRETURNstatic intLSHLstatic intLSHRstatic intLSTOREstatic intLSUBstatic intLUSHRstatic intLXORstatic intMONITORENTERstatic intMONITOREXITstatic intMULTIANEWARRAYstatic intNEWstatic intNEWARRAYstatic intNOPstatic IntegerNULLstatic intPOPstatic intPOP2static intPUTFIELDstatic intPUTSTATICstatic intRETstatic intRETURNstatic intSALOADstatic intSASTOREstatic intSIPUSHstatic intSOURCE_DEPRECATEDstatic intSOURCE_MASKstatic intSWAPstatic intT_BOOLEANstatic intT_BYTEstatic intT_CHARstatic intT_DOUBLEstatic intT_FLOATstatic intT_INTstatic intT_LONGstatic intT_SHORTstatic intTABLESWITCHstatic IntegerTOPstatic IntegerUNINITIALIZED_THISstatic intV_PREVIEWVersion flag indicating that the class is using 'preview' features.static intV1_1static intV1_2static intV1_3static intV1_4static intV1_5static intV1_6static intV1_7static intV1_8static intV10static intV11static intV12static intV13static intV14static intV15static intV9
字段详细资料
ASM8_EXPERIMENTAL
@Deprecated static final int ASM8_EXPERIMENTAL
已过时。This API is experimental.Experimental, use at your own risk. This field will be renamed when it becomes stable, this will break existing code using it. Only code compiled with --enable-preview can use this.- 另请参阅:
- 常量字段值
SOURCE_DEPRECATED
static final int SOURCE_DEPRECATED
- 另请参阅:
- 常量字段值
SOURCE_MASK
static final int SOURCE_MASK
- 另请参阅:
- 常量字段值
V_PREVIEW
static final int V_PREVIEW
Version flag indicating that the class is using 'preview' features.version & V_PREVIEW == V_PREVIEWtests if a version is flagged withV_PREVIEW.- 另请参阅:
- 常量字段值
ACC_PUBLIC
static final int ACC_PUBLIC
- 另请参阅:
- 常量字段值
ACC_PRIVATE
static final int ACC_PRIVATE
- 另请参阅:
- 常量字段值
ACC_PROTECTED
static final int ACC_PROTECTED
- 另请参阅:
- 常量字段值
ACC_STATIC
static final int ACC_STATIC
- 另请参阅:
- 常量字段值
ACC_SYNCHRONIZED
static final int ACC_SYNCHRONIZED
- 另请参阅:
- 常量字段值
ACC_TRANSITIVE
static final int ACC_TRANSITIVE
- 另请参阅:
- 常量字段值
ACC_VOLATILE
static final int ACC_VOLATILE
- 另请参阅:
- 常量字段值
ACC_BRIDGE
static final int ACC_BRIDGE
- 另请参阅:
- 常量字段值
ACC_STATIC_PHASE
static final int ACC_STATIC_PHASE
- 另请参阅:
- 常量字段值
ACC_VARARGS
static final int ACC_VARARGS
- 另请参阅:
- 常量字段值
ACC_TRANSIENT
static final int ACC_TRANSIENT
- 另请参阅:
- 常量字段值
ACC_NATIVE
static final int ACC_NATIVE
- 另请参阅:
- 常量字段值
ACC_INTERFACE
static final int ACC_INTERFACE
- 另请参阅:
- 常量字段值
ACC_ABSTRACT
static final int ACC_ABSTRACT
- 另请参阅:
- 常量字段值
ACC_STRICT
static final int ACC_STRICT
- 另请参阅:
- 常量字段值
ACC_SYNTHETIC
static final int ACC_SYNTHETIC
- 另请参阅:
- 常量字段值
ACC_ANNOTATION
static final int ACC_ANNOTATION
- 另请参阅:
- 常量字段值
ACC_MANDATED
static final int ACC_MANDATED
- 另请参阅:
- 常量字段值
ACC_MODULE
static final int ACC_MODULE
- 另请参阅:
- 常量字段值
ACC_DEPRECATED
static final int ACC_DEPRECATED
- 另请参阅:
- 常量字段值
H_GETFIELD
static final int H_GETFIELD
- 另请参阅:
- 常量字段值
H_GETSTATIC
static final int H_GETSTATIC
- 另请参阅:
- 常量字段值
H_PUTFIELD
static final int H_PUTFIELD
- 另请参阅:
- 常量字段值
H_PUTSTATIC
static final int H_PUTSTATIC
- 另请参阅:
- 常量字段值
H_INVOKEVIRTUAL
static final int H_INVOKEVIRTUAL
- 另请参阅:
- 常量字段值
H_INVOKESTATIC
static final int H_INVOKESTATIC
- 另请参阅:
- 常量字段值
H_INVOKESPECIAL
static final int H_INVOKESPECIAL
- 另请参阅:
- 常量字段值
H_NEWINVOKESPECIAL
static final int H_NEWINVOKESPECIAL
- 另请参阅:
- 常量字段值
H_INVOKEINTERFACE
static final int H_INVOKEINTERFACE
- 另请参阅:
- 常量字段值
F_NEW
static final int F_NEW
An expanded frame. SeeClassReader.EXPAND_FRAMES.- 另请参阅:
- 常量字段值
F_APPEND
static final int F_APPEND
A compressed frame where locals are the same as the locals in the previous frame, except that additional 1-3 locals are defined, and with an empty stack.- 另请参阅:
- 常量字段值
F_CHOP
static final int F_CHOP
A compressed frame where locals are the same as the locals in the previous frame, except that the last 1-3 locals are absent and with an empty stack.- 另请参阅:
- 常量字段值
F_SAME
static final int F_SAME
A compressed frame with exactly the same locals as the previous frame and with an empty stack.- 另请参阅:
- 常量字段值
F_SAME1
static final int F_SAME1
A compressed frame with exactly the same locals as the previous frame and with a single value on the stack.- 另请参阅:
- 常量字段值
UNINITIALIZED_THIS
static final Integer UNINITIALIZED_THIS
ACONST_NULL
static final int ACONST_NULL
- 另请参阅:
- 常量字段值
TABLESWITCH
static final int TABLESWITCH
- 另请参阅:
- 常量字段值
LOOKUPSWITCH
static final int LOOKUPSWITCH
- 另请参阅:
- 常量字段值
INVOKEVIRTUAL
static final int INVOKEVIRTUAL
- 另请参阅:
- 常量字段值
INVOKESPECIAL
static final int INVOKESPECIAL
- 另请参阅:
- 常量字段值
INVOKESTATIC
static final int INVOKESTATIC
- 另请参阅:
- 常量字段值
INVOKEINTERFACE
static final int INVOKEINTERFACE
- 另请参阅:
- 常量字段值
INVOKEDYNAMIC
static final int INVOKEDYNAMIC
- 另请参阅:
- 常量字段值
ARRAYLENGTH
static final int ARRAYLENGTH
- 另请参阅:
- 常量字段值
INSTANCEOF
static final int INSTANCEOF
- 另请参阅:
- 常量字段值
MONITORENTER
static final int MONITORENTER
- 另请参阅:
- 常量字段值
MONITOREXIT
static final int MONITOREXIT
- 另请参阅:
- 常量字段值
MULTIANEWARRAY
static final int MULTIANEWARRAY
- 另请参阅:
- 常量字段值