📄 package-summary.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Sat Dec 15 07:40:13 EST 2001 --><TITLE>bcel API: Package org.apache.bcel.generic</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/apache/bcel/classfile/package-summary.html"><B>PREV PACKAGE</B></A> <A HREF="../../../../org/apache/bcel/util/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="package-summary.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><H2>Package org.apache.bcel.generic</H2>This package contains the "generic" part of the<a href="http://jakarta.apache.org/bcel/">Byte Code EngineeringLibrary</a>, i.e., classes to dynamically modify class objects andbyte code instructions.<P><B>See: </B><BR> <A HREF="#package_description"><B>Description</B></A><P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Interface Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AllocationInstruction.html"><I>AllocationInstruction</I></A></B></TD><TD>Denote family of instructions that allocates space in the heap.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ClassObserver.html"><I>ClassObserver</I></A></B></TD><TD>Implement this interface if you're interested in changes to a ClassGen object and register yourself with addObserver().</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="CompoundInstruction.html"><I>CompoundInstruction</I></A></B></TD><TD>Wrapper class for `compound' operations, virtual instructions that don't exist as byte code, but give a useful meaning.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ConstantPushInstruction.html"><I>ConstantPushInstruction</I></A></B></TD><TD>Denotes a push instruction that produces a literal on the stack such as SIPUSH, BIPUSH, ICONST, etc.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ExceptionThrower.html"><I>ExceptionThrower</I></A></B></TD><TD>Denote an instruction that may throw a run-time or a linking exception (or both) during execution.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="FieldObserver.html"><I>FieldObserver</I></A></B></TD><TD>Imnplement this interface if you're interested in changes to a FieldGen object and register yourself with addObserver().</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="IndexedInstruction.html"><I>IndexedInstruction</I></A></B></TD><TD>Denote entity that refers to an index, e.g.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="InstructionConstants.html"><I>InstructionConstants</I></A></B></TD><TD>This interface contains shareable instruction objects.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="InstructionListObserver.html"><I>InstructionListObserver</I></A></B></TD><TD>Implement this interface if you're interested in changes to an InstructionList object and register yourself with addObserver().</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="InstructionTargeter.html"><I>InstructionTargeter</I></A></B></TD><TD>Denote that a class targets InstructionHandles within an InstructionList.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="LoadClass.html"><I>LoadClass</I></A></B></TD><TD>Denotes that an instruction may start the process of loading and resolving the referenced class in the Virtual Machine.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="MethodObserver.html"><I>MethodObserver</I></A></B></TD><TD>Implement this interface if you're interested in changes to a MethodGen object and register yourself with addObserver().</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="NamedAndTyped.html"><I>NamedAndTyped</I></A></B></TD><TD>Denote entity that has both name and type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="PopInstruction.html"><I>PopInstruction</I></A></B></TD><TD>Denotes an unparameterized instruction to pop a value on top from the stack, such as ISTORE, POP, PUTSTATIC.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="PushInstruction.html"><I>PushInstruction</I></A></B></TD><TD>Denotes an unparameterized instruction to produce a value on top of the stack, such as ILOAD, LDC, SIPUSH, DUP, ICONST, etc.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="StackConsumer.html"><I>StackConsumer</I></A></B></TD><TD>Denote an instruction that may consume a value from the stack.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="StackProducer.html"><I>StackProducer</I></A></B></TD><TD>Denote an instruction that may produce a value on top of the stack (this excludes DUP_X1, e.g.)</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="TypedInstruction.html"><I>TypedInstruction</I></A></B></TD><TD>Get the type associated with an instruction, int for ILOAD, or the type of the field of a PUTFIELD instruction, e.g..</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="UnconditionalBranch.html"><I>UnconditionalBranch</I></A></B></TD><TD>Denotes an instruction to perform an unconditional branch, i.e., GOTO, JSR.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="VariableLengthInstruction.html"><I>VariableLengthInstruction</I></A></B></TD><TD>Denotes an instruction to be a variable length instruction, such as GOTO, JSR, LOOKUPSWITCH and TABLESWITCH.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="Visitor.html"><I>Visitor</I></A></B></TD><TD>Interface implementing the Visitor pattern programming style.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Class Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AALOAD.html">AALOAD</A></B></TD><TD>AALOAD - Load reference from array </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AASTORE.html">AASTORE</A></B></TD><TD>AASTORE - Store into reference array </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ACONST_NULL.html">ACONST_NULL</A></B></TD><TD>ACONST_NULL - Push null reference </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ALOAD.html">ALOAD</A></B></TD><TD>ALOAD - Load reference from local variable </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ANEWARRAY.html">ANEWARRAY</A></B></TD><TD>ANEWARRAY - Create new array of references </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ARETURN.html">ARETURN</A></B></TD><TD>ARETURN - Return reference from method </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ArithmeticInstruction.html">ArithmeticInstruction</A></B></TD><TD>Super class for the family of arithmetic instructions.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ArrayInstruction.html">ArrayInstruction</A></B></TD><TD>Super class for instructions dealing with array access such as IALOAD.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ARRAYLENGTH.html">ARRAYLENGTH</A></B></TD><TD>ARRAYLENGTH - Get length of array </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ArrayType.html">ArrayType</A></B></TD><TD>Denotes array type, such as int[][]</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ASTORE.html">ASTORE</A></B></TD><TD>ASTORE - Store reference into local variable </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ATHROW.html">ATHROW</A></B></TD><TD>ATHROW - Throw exception </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="BALOAD.html">BALOAD</A></B></TD><TD>BALOAD - Load byte or boolean from array </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="BasicType.html">BasicType</A></B></TD><TD>Denotes basic type such as int.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="BASTORE.html">BASTORE</A></B></TD><TD>BASTORE - Store into byte or boolean array </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="BIPUSH.html">BIPUSH</A></B></TD><TD>BIPUSH - Push byte on stack </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="BranchHandle.html">BranchHandle</A></B></TD><TD>BranchHandle is returned by specialized InstructionList.append() whenever a BranchInstruction is appended.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="BranchInstruction.html">BranchInstruction</A></B></TD><TD>Abstract super class for branching instructions like GOTO, IFEQ, etc..</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="BREAKPOINT.html">BREAKPOINT</A></B></TD><TD>BREAKPOINT</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="CALOAD.html">CALOAD</A></B></TD><TD>CALOAD - Load char from array </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="CASTORE.html">CASTORE</A></B></TD><TD>CASTORE - Store into char array </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="CHECKCAST.html">CHECKCAST</A></B></TD><TD>CHECKCAST - Check whether object is of given type </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ClassGen.html">ClassGen</A></B></TD><TD>Template class for building up a java class.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="CodeExceptionGen.html">CodeExceptionGen</A></B></TD><TD>This class represents an exception handler, i.e., specifies the region where a handler is active and an instruction where the actual handling is done.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ConstantPoolGen.html">ConstantPoolGen</A></B></TD><TD>This class is used to build up a constant pool.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ConversionInstruction.html">ConversionInstruction</A></B></TD><TD>Super class for the x2y family of instructions.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="CPInstruction.html">CPInstruction</A></B></TD><TD>Abstract super class for instructions that use an index into the constant pool such as LDC, INVOKEVIRTUAL, etc.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="D2F.html">D2F</A></B></TD><TD>D2F - Convert double to float </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="D2I.html">D2I</A></B></TD><TD>D2I - Convert double to int </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="D2L.html">D2L</A></B></TD><TD>D2L - Convert double to long </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="DADD.html">DADD</A></B></TD><TD>DADD - Add doubles </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="DALOAD.html">DALOAD</A></B></TD><TD>DALOAD - Load double from array </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="DASTORE.html">DASTORE</A></B></TD><TD>DASTORE - Store into double array </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="DCMPG.html">DCMPG</A></B></TD><TD>DCMPG - Compare doubles: value1 > value2 </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="DCMPL.html">DCMPL</A></B></TD><TD>DCMPL - Compare doubles: value1 < value2 </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="DCONST.html">DCONST</A></B></TD><TD>DCONST - Push 0.0 or 1.0, other values cause an exception </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="DDIV.html">DDIV</A></B></TD><TD>DDIV - Divide doubles </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="DLOAD.html">DLOAD</A></B></TD><TD>DLOAD - Load double from local variable </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="DMUL.html">DMUL</A></B></TD><TD>DMUL - Multiply doubles </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="DNEG.html">DNEG</A></B></TD><TD>DNEG - Negate double </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="DREM.html">DREM</A></B></TD><TD>DREM - Remainder of doubles </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="DRETURN.html">DRETURN</A></B></TD><TD>DRETURN - Return double from method </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="DSTORE.html">DSTORE</A></B></TD><TD>DSTORE - Store double into local variable </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="DSUB.html">DSUB</A></B></TD><TD>DSUB - Substract doubles </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="DUP.html">DUP</A></B></TD><TD>DUP - Duplicate top operand stack word </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="DUP_X1.html">DUP_X1</A></B></TD><TD>DUP_X1 - Duplicate top operand stack word and put two down </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="DUP_X2.html">DUP_X2</A></B></TD><TD>DUP_X2 - Duplicate top operand stack word and put three down </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="DUP2.html">DUP2</A></B></TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -