PageRenderTime 290ms CodeModel.GetById 268ms app.highlight 15ms RepoModel.GetById 1ms app.codeStats 1ms

/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/bsh/ClassGeneratorUtil.html

#
HTML | 452 lines | 393 code | 46 blank | 13 comment | 0 complexity | 488b505c4a9fa8c1863806b97dc7a029 MD5 | raw file
  1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2<!--NewPage-->
  3<HTML>
  4<HEAD>
  5<!-- Generated by javadoc (build 1.5.0_14) on Tue Jul 22 07:13:49 GMT-08:00 2008 -->
  6<TITLE>
  7ClassGeneratorUtil (jEdit API)
  8</TITLE>
  9
 10<META NAME="keywords" CONTENT="org.gjt.sp.jedit.bsh.ClassGeneratorUtil class">
 11
 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
 13
 14
 15<NOSCRIPT>
 16</NOSCRIPT>
 17
 18</HEAD>
 19
 20<BODY BGCOLOR="white" >
 21
 22
 23<!-- ========= START OF TOP NAVBAR ======= -->
 24<A NAME="navbar_top"><!-- --></A>
 25<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 26<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 27<TR>
 28<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 29<A NAME="navbar_top_firstrow"><!-- --></A>
 30<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 31  <TR ALIGN="center" VALIGN="top">
 32  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 33  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 34  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 35  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ClassGeneratorUtil.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 36  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 37  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 38  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 39  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 40  </TR>
 41</TABLE>
 42</TD>
 43<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 44</EM>
 45</TD>
 46</TR>
 47
 48<TR>
 49<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 50&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/ClassGeneratorImpl.html" title="class in org.gjt.sp.jedit.bsh"><B>PREV CLASS</B></A>&nbsp;
 51&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/ClassGeneratorUtil.ConstructorArgs.html" title="class in org.gjt.sp.jedit.bsh"><B>NEXT CLASS</B></A></FONT></TD>
 52<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 53  <A HREF="../../../../../index.html?org/gjt/sp/jedit/bsh/ClassGeneratorUtil.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 54&nbsp;<A HREF="ClassGeneratorUtil.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 55&nbsp;
 56<NOSCRIPT>
 57  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
 58</NOSCRIPT>
 59
 60
 61</FONT></TD>
 62</TR>
 63<TR>
 64<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 65  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 66<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 67DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 68</TR>
 69</TABLE>
 70<A NAME="skip-navbar_top"></A>
 71<!-- ========= END OF TOP NAVBAR ========= -->
 72
 73<HR>
 74<!-- ======== START OF CLASS DATA ======== -->
 75<H2>
 76<FONT SIZE="-1">
 77org.gjt.sp.jedit.bsh</FONT>
 78<BR>
 79Class ClassGeneratorUtil</H2>
 80<PRE>
 81java.lang.Object
 82  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.bsh.ClassGeneratorUtil</B>
 83</PRE>
 84<DL>
 85<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html" title="interface in org.gjt.sp.jedit.bsh.org.objectweb.asm">Constants</A></DD>
 86</DL>
 87<HR>
 88<DL>
 89<DT><PRE>public class <B>ClassGeneratorUtil</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html" title="interface in org.gjt.sp.jedit.bsh.org.objectweb.asm">Constants</A></DL>
 90</PRE>
 91
 92<P>
 93ClassGeneratorUtil utilizes the ASM (www.objectweb.org) bytecode generator 
 94        by Eric Bruneton in order to generate class "stubs" for BeanShell at
 95        runtime.  
 96        <p>
 97
 98        Stub classes contain all of the fields of a BeanShell scripted class
 99        as well as two "callback" references to BeanShell namespaces: one for
100        static methods and one for instance methods.  Methods of the class are
101        delegators which invoke corresponding methods on either the static or
102        instance bsh object and then unpack and return the results.  The static
103        namespace utilizes a static import to delegate variable access to the
104        class' static fields.  The instance namespace utilizes a dynamic import
105        (i.e. mixin) to delegate variable access to the class' instance variables.
106        <p>
107
108        Constructors for the class delegate to the static initInstance() method of 
109        ClassGeneratorUtil to initialize new instances of the object.  initInstance()
110        invokes the instance intializer code (init vars and instance blocks) and
111        then delegates to the corresponding scripted constructor method in the
112        instance namespace.  Constructors contain special switch logic which allows
113        the BeanShell to control the calling of alternate constructors (this() or
114        super() references) at runtime.
115        <p>
116
117        Specially named superclass delegator methods are also generated in order to
118        allow BeanShell to access overridden methods of the superclass (which
119        reflection does not normally allow).
120        <p>
121<P>
122
123<P>
124<HR>
125
126<P>
127<!-- ======== NESTED CLASS SUMMARY ======== -->
128
129<A NAME="nested_class_summary"><!-- --></A>
130<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
131<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
132<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
133<B>Nested Class Summary</B></FONT></TH>
134</TR>
135<TR BGCOLOR="white" CLASS="TableRowColor">
136<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
137<CODE>static&nbsp;class</CODE></FONT></TD>
138<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ClassGeneratorUtil.ConstructorArgs.html" title="class in org.gjt.sp.jedit.bsh">ClassGeneratorUtil.ConstructorArgs</A></B></CODE>
139
140<BR>
141&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A ConstructorArgs object holds evaluated arguments for a constructor
142                call as well as the index of a possible alternate selector to invoke.</TD>
143</TR>
144</TABLE>
145&nbsp;<!-- =========== FIELD SUMMARY =========== -->
146
147<A NAME="field_summary"><!-- --></A>
148<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
149<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
150<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
151<B>Field Summary</B></FONT></TH>
152</TR>
153</TABLE>
154&nbsp;<A NAME="fields_inherited_from_class_org.gjt.sp.jedit.bsh.org.objectweb.asm.Constants"><!-- --></A>
155<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
156<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
157<TH ALIGN="left"><B>Fields inherited from interface org.gjt.sp.jedit.bsh.org.objectweb.asm.<A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html" title="interface in org.gjt.sp.jedit.bsh.org.objectweb.asm">Constants</A></B></TH>
158</TR>
159<TR BGCOLOR="white" CLASS="TableRowColor">
160<TD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#AALOAD">AALOAD</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#AASTORE">AASTORE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ACC_ABSTRACT">ACC_ABSTRACT</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ACC_DEPRECATED">ACC_DEPRECATED</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ACC_FINAL">ACC_FINAL</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ACC_INTERFACE">ACC_INTERFACE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ACC_NATIVE">ACC_NATIVE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ACC_PRIVATE">ACC_PRIVATE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ACC_PROTECTED">ACC_PROTECTED</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ACC_PUBLIC">ACC_PUBLIC</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ACC_STATIC">ACC_STATIC</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ACC_STRICT">ACC_STRICT</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ACC_SUPER">ACC_SUPER</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ACC_SYNCHRONIZED">ACC_SYNCHRONIZED</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ACC_SYNTHETIC">ACC_SYNTHETIC</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ACC_TRANSIENT">ACC_TRANSIENT</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ACC_VOLATILE">ACC_VOLATILE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ACONST_NULL">ACONST_NULL</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ALOAD">ALOAD</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ANEWARRAY">ANEWARRAY</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ARETURN">ARETURN</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ARRAYLENGTH">ARRAYLENGTH</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ASTORE">ASTORE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ATHROW">ATHROW</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#BALOAD">BALOAD</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#BASTORE">BASTORE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#BIPUSH">BIPUSH</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#CALOAD">CALOAD</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#CASTORE">CASTORE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#CHECKCAST">CHECKCAST</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#D2F">D2F</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#D2I">D2I</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#D2L">D2L</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#DADD">DADD</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#DALOAD">DALOAD</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#DASTORE">DASTORE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#DCMPG">DCMPG</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#DCMPL">DCMPL</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#DCONST_0">DCONST_0</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#DCONST_1">DCONST_1</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#DDIV">DDIV</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#DLOAD">DLOAD</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#DMUL">DMUL</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#DNEG">DNEG</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#DREM">DREM</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#DRETURN">DRETURN</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#DSTORE">DSTORE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#DSUB">DSUB</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#DUP">DUP</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#DUP_X1">DUP_X1</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#DUP_X2">DUP_X2</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#DUP2">DUP2</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#DUP2_X1">DUP2_X1</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#DUP2_X2">DUP2_X2</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#F2D">F2D</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#F2I">F2I</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#F2L">F2L</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#FADD">FADD</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#FALOAD">FALOAD</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#FASTORE">FASTORE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#FCMPG">FCMPG</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#FCMPL">FCMPL</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#FCONST_0">FCONST_0</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#FCONST_1">FCONST_1</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#FCONST_2">FCONST_2</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#FDIV">FDIV</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#FLOAD">FLOAD</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#FMUL">FMUL</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#FNEG">FNEG</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#FREM">FREM</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#FRETURN">FRETURN</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#FSTORE">FSTORE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#FSUB">FSUB</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#GETFIELD">GETFIELD</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#GETSTATIC">GETSTATIC</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#GOTO">GOTO</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#I2B">I2B</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#I2C">I2C</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#I2D">I2D</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#I2F">I2F</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#I2L">I2L</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#I2S">I2S</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IADD">IADD</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IALOAD">IALOAD</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IAND">IAND</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IASTORE">IASTORE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ICONST_0">ICONST_0</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ICONST_1">ICONST_1</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ICONST_2">ICONST_2</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ICONST_3">ICONST_3</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ICONST_4">ICONST_4</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ICONST_5">ICONST_5</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ICONST_M1">ICONST_M1</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IDIV">IDIV</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IF_ACMPEQ">IF_ACMPEQ</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IF_ACMPNE">IF_ACMPNE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IF_ICMPEQ">IF_ICMPEQ</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IF_ICMPGE">IF_ICMPGE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IF_ICMPGT">IF_ICMPGT</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IF_ICMPLE">IF_ICMPLE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IF_ICMPLT">IF_ICMPLT</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IF_ICMPNE">IF_ICMPNE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IFEQ">IFEQ</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IFGE">IFGE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IFGT">IFGT</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IFLE">IFLE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IFLT">IFLT</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IFNE">IFNE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IFNONNULL">IFNONNULL</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IFNULL">IFNULL</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IINC">IINC</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ILOAD">ILOAD</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IMUL">IMUL</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#INEG">INEG</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#INSTANCEOF">INSTANCEOF</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#INVOKEINTERFACE">INVOKEINTERFACE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#INVOKESPECIAL">INVOKESPECIAL</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#INVOKESTATIC">INVOKESTATIC</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#INVOKEVIRTUAL">INVOKEVIRTUAL</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IOR">IOR</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IREM">IREM</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IRETURN">IRETURN</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ISHL">ISHL</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ISHR">ISHR</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ISTORE">ISTORE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#ISUB">ISUB</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IUSHR">IUSHR</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#IXOR">IXOR</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#JSR">JSR</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#L2D">L2D</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#L2F">L2F</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#L2I">L2I</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#LADD">LADD</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#LALOAD">LALOAD</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#LAND">LAND</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#LASTORE">LASTORE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#LCMP">LCMP</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#LCONST_0">LCONST_0</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#LCONST_1">LCONST_1</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#LDC">LDC</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#LDIV">LDIV</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#LLOAD">LLOAD</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#LMUL">LMUL</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#LNEG">LNEG</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#LOOKUPSWITCH">LOOKUPSWITCH</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#LOR">LOR</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#LREM">LREM</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#LRETURN">LRETURN</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#LSHL">LSHL</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#LSHR">LSHR</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#LSTORE">LSTORE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#LSUB">LSUB</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#LUSHR">LUSHR</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#LXOR">LXOR</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#MONITORENTER">MONITORENTER</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#MONITOREXIT">MONITOREXIT</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#MULTIANEWARRAY">MULTIANEWARRAY</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#NEW">NEW</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#NEWARRAY">NEWARRAY</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#NOP">NOP</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#POP">POP</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#POP2">POP2</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#PUTFIELD">PUTFIELD</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#PUTSTATIC">PUTSTATIC</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#RET">RET</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#RETURN">RETURN</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#SALOAD">SALOAD</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#SASTORE">SASTORE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#SIPUSH">SIPUSH</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#SWAP">SWAP</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#T_BOOLEAN">T_BOOLEAN</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#T_BYTE">T_BYTE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#T_CHAR">T_CHAR</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#T_DOUBLE">T_DOUBLE</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#T_FLOAT">T_FLOAT</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#T_INT">T_INT</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#T_LONG">T_LONG</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#T_SHORT">T_SHORT</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Constants.html#TABLESWITCH">TABLESWITCH</A></CODE></TD>
161</TR>
162</TABLE>
163&nbsp;
164<!-- ======== CONSTRUCTOR SUMMARY ======== -->
165
166<A NAME="constructor_summary"><!-- --></A>
167<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
168<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
169<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
170<B>Constructor Summary</B></FONT></TH>
171</TR>
172<TR BGCOLOR="white" CLASS="TableRowColor">
173<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ClassGeneratorUtil.html#ClassGeneratorUtil(org.gjt.sp.jedit.bsh.Modifiers, java.lang.String, java.lang.String, java.lang.Class, java.lang.Class[], org.gjt.sp.jedit.bsh.Variable[], org.gjt.sp.jedit.bsh.DelayedEvalBshMethod[], org.gjt.sp.jedit.bsh.NameSpace, boolean)">ClassGeneratorUtil</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/bsh/Modifiers.html" title="class in org.gjt.sp.jedit.bsh">Modifiers</A>&nbsp;classModifiers,
174                   java.lang.String&nbsp;className,
175                   java.lang.String&nbsp;packageName,
176                   java.lang.Class&nbsp;superClass,
177                   java.lang.Class[]&nbsp;interfaces,
178                   <A HREF="../../../../../org/gjt/sp/jedit/bsh/Variable.html" title="class in org.gjt.sp.jedit.bsh">Variable</A>[]&nbsp;vars,
179                   <A HREF="../../../../../org/gjt/sp/jedit/bsh/DelayedEvalBshMethod.html" title="class in org.gjt.sp.jedit.bsh">DelayedEvalBshMethod</A>[]&nbsp;bshmethods,
180                   <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>&nbsp;classStaticNameSpace,
181                   boolean&nbsp;isInterface)</CODE>
182
183<BR>
184&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
185</TR>
186</TABLE>
187&nbsp;
188<!-- ========== METHOD SUMMARY =========== -->
189
190<A NAME="method_summary"><!-- --></A>
191<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
192<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
193<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
194<B>Method Summary</B></FONT></TH>
195</TR>
196<TR BGCOLOR="white" CLASS="TableRowColor">
197<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
198<CODE>&nbsp;byte[]</CODE></FONT></TD>
199<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ClassGeneratorUtil.html#generateClass()">generateClass</A></B>()</CODE>
200
201<BR>
202&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Generate the class bytecode for this class.</TD>
203</TR>
204<TR BGCOLOR="white" CLASS="TableRowColor">
205<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
206<CODE>static&nbsp;void</CODE></FONT></TD>
207<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ClassGeneratorUtil.html#generateParameterReifierCode(java.lang.String[], boolean, org.gjt.sp.jedit.bsh.org.objectweb.asm.CodeVisitor)">generateParameterReifierCode</A></B>(java.lang.String[]&nbsp;paramTypes,
208                             boolean&nbsp;isStatic,
209                             <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/CodeVisitor.html" title="interface in org.gjt.sp.jedit.bsh.org.objectweb.asm">CodeVisitor</A>&nbsp;cv)</CODE>
210
211<BR>
212&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Generates the code to reify the arguments of the given method.</TD>
213</TR>
214<TR BGCOLOR="white" CLASS="TableRowColor">
215<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
216<CODE>static&nbsp;void</CODE></FONT></TD>
217<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ClassGeneratorUtil.html#generateReturnCode(java.lang.String, org.gjt.sp.jedit.bsh.org.objectweb.asm.CodeVisitor)">generateReturnCode</A></B>(java.lang.String&nbsp;returnType,
218                   <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/CodeVisitor.html" title="interface in org.gjt.sp.jedit.bsh.org.objectweb.asm">CodeVisitor</A>&nbsp;cv)</CODE>
219
220<BR>
221&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Generates the code to unreify the result of the given method.</TD>
222</TR>
223<TR BGCOLOR="white" CLASS="TableRowColor">
224<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
225<CODE>static&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/ClassGeneratorUtil.ConstructorArgs.html" title="class in org.gjt.sp.jedit.bsh">ClassGeneratorUtil.ConstructorArgs</A></CODE></FONT></TD>
226<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ClassGeneratorUtil.html#getConstructorArgs(java.lang.String, org.gjt.sp.jedit.bsh.This, java.lang.Object[], int)">getConstructorArgs</A></B>(java.lang.String&nbsp;superClassName,
227                   <A HREF="../../../../../org/gjt/sp/jedit/bsh/This.html" title="class in org.gjt.sp.jedit.bsh">This</A>&nbsp;classStaticThis,
228                   java.lang.Object[]&nbsp;consArgs,
229                   int&nbsp;index)</CODE>
230
231<BR>
232&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Evaluate the arguments (if any) for the constructor specified by
233                the constructor index.</TD>
234</TR>
235<TR BGCOLOR="white" CLASS="TableRowColor">
236<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
237<CODE>static&nbsp;void</CODE></FONT></TD>
238<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ClassGeneratorUtil.html#initInstance(java.lang.Object, java.lang.String, java.lang.Object[])">initInstance</A></B>(java.lang.Object&nbsp;instance,
239             java.lang.String&nbsp;className,
240             java.lang.Object[]&nbsp;args)</CODE>
241
242<BR>
243&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialize an instance of the class.</TD>
244</TR>
245</TABLE>
246&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
247<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
248<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
249<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
250</TR>
251<TR BGCOLOR="white" CLASS="TableRowColor">
252<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
253</TR>
254</TABLE>
255&nbsp;
256<P>
257
258<!-- ========= CONSTRUCTOR DETAIL ======== -->
259
260<A NAME="constructor_detail"><!-- --></A>
261<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
262<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
263<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
264<B>Constructor Detail</B></FONT></TH>
265</TR>
266</TABLE>
267
268<A NAME="ClassGeneratorUtil(org.gjt.sp.jedit.bsh.Modifiers, java.lang.String, java.lang.String, java.lang.Class, java.lang.Class[], org.gjt.sp.jedit.bsh.Variable[], org.gjt.sp.jedit.bsh.DelayedEvalBshMethod[], org.gjt.sp.jedit.bsh.NameSpace, boolean)"><!-- --></A><H3>
269ClassGeneratorUtil</H3>
270<PRE>
271public <B>ClassGeneratorUtil</B>(<A HREF="../../../../../org/gjt/sp/jedit/bsh/Modifiers.html" title="class in org.gjt.sp.jedit.bsh">Modifiers</A>&nbsp;classModifiers,
272                          java.lang.String&nbsp;className,
273                          java.lang.String&nbsp;packageName,
274                          java.lang.Class&nbsp;superClass,
275                          java.lang.Class[]&nbsp;interfaces,
276                          <A HREF="../../../../../org/gjt/sp/jedit/bsh/Variable.html" title="class in org.gjt.sp.jedit.bsh">Variable</A>[]&nbsp;vars,
277                          <A HREF="../../../../../org/gjt/sp/jedit/bsh/DelayedEvalBshMethod.html" title="class in org.gjt.sp.jedit.bsh">DelayedEvalBshMethod</A>[]&nbsp;bshmethods,
278                          <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>&nbsp;classStaticNameSpace,
279                          boolean&nbsp;isInterface)</PRE>
280<DL>
281<DL>
282<DT><B>Parameters:</B><DD><CODE>packageName</CODE> - e.g. "com.foo.bar"</DL>
283</DL>
284
285<!-- ============ METHOD DETAIL ========== -->
286
287<A NAME="method_detail"><!-- --></A>
288<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
289<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
290<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
291<B>Method Detail</B></FONT></TH>
292</TR>
293</TABLE>
294
295<A NAME="generateClass()"><!-- --></A><H3>
296generateClass</H3>
297<PRE>
298public byte[] <B>generateClass</B>()</PRE>
299<DL>
300<DD>Generate the class bytecode for this class.
301<P>
302<DD><DL>
303</DL>
304</DD>
305<DD><DL>
306</DL>
307</DD>
308</DL>
309<HR>
310
311<A NAME="generateParameterReifierCode(java.lang.String[], boolean, org.gjt.sp.jedit.bsh.org.objectweb.asm.CodeVisitor)"><!-- --></A><H3>
312generateParameterReifierCode</H3>
313<PRE>
314public static void <B>generateParameterReifierCode</B>(java.lang.String[]&nbsp;paramTypes,
315                                                boolean&nbsp;isStatic,
316                                                <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/CodeVisitor.html" title="interface in org.gjt.sp.jedit.bsh.org.objectweb.asm">CodeVisitor</A>&nbsp;cv)</PRE>
317<DL>
318<DD>Generates the code to reify the arguments of the given method.
319                For a method "int m (int i, String s)", this code is the bytecode
320                corresponding to the "new Object[] { new bsh.Primitive(i), s }" 
321                expression.
322<P>
323<DD><DL>
324</DL>
325</DD>
326<DD><DL>
327<DT><B>Parameters:</B><DD><CODE>cv</CODE> - the code visitor to be used to generate the bytecode.<DD><CODE>isStatic</CODE> - the enclosing methods is static</DL>
328</DD>
329</DL>
330<HR>
331
332<A NAME="generateReturnCode(java.lang.String, org.gjt.sp.jedit.bsh.org.objectweb.asm.CodeVisitor)"><!-- --></A><H3>
333generateReturnCode</H3>
334<PRE>
335public static void <B>generateReturnCode</B>(java.lang.String&nbsp;returnType,
336                                      <A HREF="../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/CodeVisitor.html" title="interface in org.gjt.sp.jedit.bsh.org.objectweb.asm">CodeVisitor</A>&nbsp;cv)</PRE>
337<DL>
338<DD>Generates the code to unreify the result of the given method.  For a
339                method "int m (int i, String s)", this code is the bytecode
340                corresponding to the "((Integer)...).intValue()" expression.
341<P>
342<DD><DL>
343</DL>
344</DD>
345<DD><DL>
346<DT><B>Parameters:</B><DD><CODE>cv</CODE> - the code visitor to be used to generate the bytecode.</DL>
347</DD>
348</DL>
349<HR>
350
351<A NAME="getConstructorArgs(java.lang.String, org.gjt.sp.jedit.bsh.This, java.lang.Object[], int)"><!-- --></A><H3>
352getConstructorArgs</H3>
353<PRE>
354public static <A HREF="../../../../../org/gjt/sp/jedit/bsh/ClassGeneratorUtil.ConstructorArgs.html" title="class in org.gjt.sp.jedit.bsh">ClassGeneratorUtil.ConstructorArgs</A> <B>getConstructorArgs</B>(java.lang.String&nbsp;superClassName,
355                                                                    <A HREF="../../../../../org/gjt/sp/jedit/bsh/This.html" title="class in org.gjt.sp.jedit.bsh">This</A>&nbsp;classStaticThis,
356                                                                    java.lang.Object[]&nbsp;consArgs,
357                                                                    int&nbsp;index)</PRE>
358<DL>
359<DD>Evaluate the arguments (if any) for the constructor specified by
360                the constructor index.  Return the ConstructorArgs object which
361                contains the actual arguments to the alternate constructor and also the
362                index of that constructor for the constructor switch.
363<P>
364<DD><DL>
365</DL>
366</DD>
367<DD><DL>
368<DT><B>Parameters:</B><DD><CODE>consArgs</CODE> - the arguments to the constructor.  These are necessary in
369                the evaluation of the alt constructor args.  e.g. Foo(a) { super(a); }
370<DT><B>Returns:</B><DD>the ConstructorArgs object containing a constructor selector
371                        and evaluated arguments for the alternate constructor</DL>
372</DD>
373</DL>
374<HR>
375
376<A NAME="initInstance(java.lang.Object, java.lang.String, java.lang.Object[])"><!-- --></A><H3>
377initInstance</H3>
378<PRE>
379public static void <B>initInstance</B>(java.lang.Object&nbsp;instance,
380                                java.lang.String&nbsp;className,
381                                java.lang.Object[]&nbsp;args)</PRE>
382<DL>
383<DD>Initialize an instance of the class.
384                This method is called from the generated class constructor to evaluate
385                the instance initializer and scripted constructor in the instance
386                namespace.
387<P>
388<DD><DL>
389</DL>
390</DD>
391<DD><DL>
392</DL>
393</DD>
394</DL>
395<!-- ========= END OF CLASS DATA ========= -->
396<HR>
397
398
399<!-- ======= START OF BOTTOM NAVBAR ====== -->
400<A NAME="navbar_bottom"><!-- --></A>
401<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
402<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
403<TR>
404<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
405<A NAME="navbar_bottom_firstrow"><!-- --></A>
406<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
407  <TR ALIGN="center" VALIGN="top">
408  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
409  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
410  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
411  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ClassGeneratorUtil.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
412  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
413  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
414  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
415  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
416  </TR>
417</TABLE>
418</TD>
419<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
420</EM>
421</TD>
422</TR>
423
424<TR>
425<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
426&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/ClassGeneratorImpl.html" title="class in org.gjt.sp.jedit.bsh"><B>PREV CLASS</B></A>&nbsp;
427&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/ClassGeneratorUtil.ConstructorArgs.html" title="class in org.gjt.sp.jedit.bsh"><B>NEXT CLASS</B></A></FONT></TD>
428<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
429  <A HREF="../../../../../index.html?org/gjt/sp/jedit/bsh/ClassGeneratorUtil.html" target="_top"><B>FRAMES</B></A>  &nbsp;
430&nbsp;<A HREF="ClassGeneratorUtil.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
431&nbsp;
432<NOSCRIPT>
433  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
434</NOSCRIPT>
435
436
437</FONT></TD>
438</TR>
439<TR>
440<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
441  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
442<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
443DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
444</TR>
445</TABLE>
446<A NAME="skip-navbar_bottom"></A>
447<!-- ======== END OF BOTTOM NAVBAR ======= -->
448
449<HR>
450
451</BODY>
452</HTML>