📄 instructionfactory.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:15 EST 2001 --><TITLE>bcel API: Class InstructionFactory</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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/InstructionFactory.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/generic/InstructionConstants.Clinit.html"><B>PREV CLASS</B></A> <A HREF="../../../../org/apache/bcel/generic/InstructionHandle.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="InstructionFactory.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">org.apache.bcel.generic</FONT><BR>Class InstructionFactory</H2><PRE>java.lang.Object | +--<B>org.apache.bcel.generic.InstructionFactory</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html">InstructionConstants</A></DD></DL><HR><DL><DT>public class <B>InstructionFactory</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html">InstructionConstants</A></DL><P>Instances of this class may be used, e.g., to generate typed versions of instructions. Its main purpose is to be used as the byte code generating backend of a compiler. You can subclass it to add your own create methods.<P><DL><DT><B>Version: </B><DD>$Id: InstructionFactory.java,v 1.1.1.1 2001/10/29 20:00:19 jvanzyl Exp $</DD><DT><B>Author: </B><DD><A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A></DD><DT><B>See Also: </B><DD><A HREF="../../../../org/apache/bcel/Constants.html"><CODE>Constants</CODE></A></DL><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><A NAME="inner_classes_inherited_from_class_org.apache.bcel.generic.InstructionConstants"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Inner classes inherited from class org.apache.bcel.generic.<A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html">InstructionConstants</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/apache/bcel/generic/InstructionConstants.Clinit.html">InstructionConstants.Clinit</A></CODE></TD></TR></TABLE> <!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Field Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../org/apache/bcel/generic/ClassGen.html">ClassGen</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/bcel/generic/InstructionFactory.html#cg">cg</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../org/apache/bcel/generic/ConstantPoolGen.html">ConstantPoolGen</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/bcel/generic/InstructionFactory.html#cp">cp</A></B></CODE><BR> </TD></TR></TABLE> <A NAME="fields_inherited_from_class_org.apache.bcel.generic.InstructionConstants"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from interface org.apache.bcel.generic.<A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html">InstructionConstants</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#AALOAD">AALOAD</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#AASTORE">AASTORE</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ACONST_NULL">ACONST_NULL</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ALOAD_0">ALOAD_0</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ALOAD_1">ALOAD_1</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ALOAD_2">ALOAD_2</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ARETURN">ARETURN</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ARRAYLENGTH">ARRAYLENGTH</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ASTORE_0">ASTORE_0</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ASTORE_1">ASTORE_1</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ASTORE_2">ASTORE_2</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ATHROW">ATHROW</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#BALOAD">BALOAD</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#BASTORE">BASTORE</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#bla">bla</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#CALOAD">CALOAD</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#CASTORE">CASTORE</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#D2F">D2F</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#D2I">D2I</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#D2L">D2L</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#DADD">DADD</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#DALOAD">DALOAD</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#DASTORE">DASTORE</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#DCMPG">DCMPG</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#DCMPL">DCMPL</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#DCONST_0">DCONST_0</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#DCONST_1">DCONST_1</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#DDIV">DDIV</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#DMUL">DMUL</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#DNEG">DNEG</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#DREM">DREM</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#DRETURN">DRETURN</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#DSUB">DSUB</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#DUP">DUP</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#DUP_X1">DUP_X1</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#DUP_X2">DUP_X2</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#DUP2">DUP2</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#DUP2_X1">DUP2_X1</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#DUP2_X2">DUP2_X2</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#F2D">F2D</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#F2I">F2I</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#F2L">F2L</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#FADD">FADD</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#FALOAD">FALOAD</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#FASTORE">FASTORE</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#FCMPG">FCMPG</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#FCMPL">FCMPL</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#FCONST_0">FCONST_0</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#FCONST_1">FCONST_1</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#FCONST_2">FCONST_2</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#FDIV">FDIV</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#FMUL">FMUL</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#FNEG">FNEG</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#FREM">FREM</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#FRETURN">FRETURN</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#FSUB">FSUB</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#I2B">I2B</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#I2C">I2C</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#I2D">I2D</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#I2F">I2F</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#I2L">I2L</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#I2S">I2S</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#IADD">IADD</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#IALOAD">IALOAD</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#IAND">IAND</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#IASTORE">IASTORE</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ICONST_0">ICONST_0</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ICONST_1">ICONST_1</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ICONST_2">ICONST_2</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ICONST_3">ICONST_3</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ICONST_4">ICONST_4</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ICONST_5">ICONST_5</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ICONST_M1">ICONST_M1</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#IDIV">IDIV</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ILOAD_0">ILOAD_0</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ILOAD_1">ILOAD_1</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ILOAD_2">ILOAD_2</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#IMUL">IMUL</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#INEG">INEG</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#INSTRUCTIONS">INSTRUCTIONS</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#IOR">IOR</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#IREM">IREM</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#IRETURN">IRETURN</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ISHL">ISHL</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ISHR">ISHR</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ISTORE_0">ISTORE_0</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ISTORE_1">ISTORE_1</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ISTORE_2">ISTORE_2</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#ISUB">ISUB</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#IUSHR">IUSHR</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#IXOR">IXOR</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#L2D">L2D</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#L2F">L2F</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#L2I">L2I</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#LADD">LADD</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#LALOAD">LALOAD</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#LAND">LAND</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#LASTORE">LASTORE</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#LCMP">LCMP</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#LCONST_0">LCONST_0</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#LCONST_1">LCONST_1</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#LDIV">LDIV</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#LMUL">LMUL</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#LNEG">LNEG</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#LOR">LOR</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#LREM">LREM</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#LRETURN">LRETURN</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#LSHL">LSHL</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#LSHR">LSHR</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#LSUB">LSUB</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#LUSHR">LUSHR</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#LXOR">LXOR</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#MONITORENTER">MONITORENTER</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#MONITOREXIT">MONITOREXIT</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#NOP">NOP</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#POP">POP</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#POP2">POP2</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#RETURN">RETURN</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#SALOAD">SALOAD</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#SASTORE">SASTORE</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#SWAP">SWAP</A>, <A HREF="../../../../org/apache/bcel/generic/InstructionConstants.html#THIS">THIS</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../org/apache/bcel/generic/InstructionFactory.html#InstructionFactory(org.apache.bcel.generic.ClassGen)">InstructionFactory</A></B>(<A HREF="../../../../org/apache/bcel/generic/ClassGen.html">ClassGen</A> cg)</CODE><BR> Initialize with ClassGen object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../org/apache/bcel/generic/InstructionFactory.html#InstructionFactory(org.apache.bcel.generic.ClassGen, org.apache.bcel.generic.ConstantPoolGen)">InstructionFactory</A></B>(<A HREF="../../../../org/apache/bcel/generic/ClassGen.html">ClassGen</A> cg, <A HREF="../../../../org/apache/bcel/generic/ConstantPoolGen.html">ConstantPoolGen</A> cp)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../org/apache/bcel/generic/InstructionFactory.html#InstructionFactory(org.apache.bcel.generic.ConstantPoolGen)">InstructionFactory</A></B>(<A HREF="../../../../org/apache/bcel/generic/ConstantPoolGen.html">ConstantPoolGen</A> cp)</CODE><BR> Initialize just with ConstantPoolGen object</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/apache/bcel/generic/Instruction.html">Instruction</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/bcel/generic/InstructionFactory.html#createAppend(org.apache.bcel.generic.Type)">createAppend</A></B>(<A HREF="../../../../org/apache/bcel/generic/Type.html">Type</A> type)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../org/apache/bcel/generic/ArrayInstruction.html">ArrayInstruction</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/bcel/generic/InstructionFactory.html#createArrayLoad(org.apache.bcel.generic.Type)">createArrayLoad</A></B>(<A HREF="../../../../org/apache/bcel/generic/Type.html">Type</A> type)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../org/apache/bcel/generic/ArrayInstruction.html">ArrayInstruction</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/bcel/generic/InstructionFactory.html#createArrayStore(org.apache.bcel.generic.Type)">createArrayStore</A></B>(<A HREF="../../../../org/apache/bcel/generic/Type.html">Type</A> type)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../org/apache/bcel/generic/ArithmeticInstruction.html">ArithmeticInstruction</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/bcel/generic/InstructionFactory.html#createBinaryOperation(java.lang.String, org.apache.bcel.generic.Type)">createBinaryOperation</A></B>(java.lang.String op, <A HREF="../../../../org/apache/bcel/generic/Type.html">Type</A> type)</CODE><BR> Create binary operation for simple basic types, such as int and float.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../org/apache/bcel/generic/BranchInstruction.html">BranchInstruction</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/bcel/generic/InstructionFactory.html#createBranchInstruction(short, org.apache.bcel.generic.InstructionHandle)">createBranchInstruction</A></B>(short opcode, <A HREF="../../../../org/apache/bcel/generic/InstructionHandle.html">InstructionHandle</A> target)</CODE><BR> Create branch instruction by given opcode, except LOOKUPSWITCH and TABLESWITCH.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/apache/bcel/generic/Instruction.html">Instruction</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/bcel/generic/InstructionFactory.html#createCast(org.apache.bcel.generic.Type, org.apache.bcel.generic.Type)">createCast</A></B>(<A HREF="../../../../org/apache/bcel/generic/Type.html">Type</A> src_type, <A HREF="../../../../org/apache/bcel/generic/Type.html">Type</A> dest_type)</CODE><BR> Create conversion operation for two stack operands, this may be an I2C, instruction, e.g., if the operands are basic types and CHECKCAST if they are reference types.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/apache/bcel/generic/CHECKCAST.html">CHECKCAST</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/bcel/generic/InstructionFactory.html#createCheckCast(org.apache.bcel.generic.ReferenceType)">createCheckCast</A></B>(<A HREF="../../../../org/apache/bcel/generic/ReferenceType.html">ReferenceType</A> t)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../org/apache/bcel/generic/StackInstruction.html">StackInstruction</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/bcel/generic/InstructionFactory.html#createDup_1(int)">createDup_1</A></B>(int size)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -