<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="de"> <head> <!-- Generated by javadoc (version 1.7.0_25) on Wed Sep 18 10:43:05 CEST 2013 --> <title>ClassFile</title> <meta name="date" content="2013-09-18"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if (location.href.indexOf('is-external=true') == -1) { parent.document.title="ClassFile"; } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar_top"> <!-- --> </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/ClassFile.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../index-files/index-1.html">Index</a></li> <li><a href="../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../mycompiler/mybytecode/AttributeInfo.html" title="class in mycompiler.mybytecode"><span class="strong">Prev Class</span></a></li> <li><a href="../../mycompiler/mybytecode/CodeAttribute.html" title="class in mycompiler.mybytecode"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../index.html?mycompiler/mybytecode/ClassFile.html" target="_top">Frames</a></li> <li><a href="ClassFile.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li>Nested | </li> <li><a href="#field_summary">Field</a> | </li> <li><a href="#constructor_summary">Constr</a> | </li> <li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li><a href="#field_detail">Field</a> | </li> <li><a href="#constructor_detail">Constr</a> | </li> <li><a href="#method_detail">Method</a></li> </ul> </div> <a name="skip-navbar_top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">mycompiler.mybytecode</div> <h2 title="Class ClassFile" class="title">Class ClassFile</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li>java.lang.Object</li> <li> <ul class="inheritance"> <li>mycompiler.mybytecode.ClassFile</li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <hr> <br> <pre>public class <span class="strong">ClassFile</span> extends java.lang.Object</pre> <div class="block">Darstellung einer Klassendatei aus Sicht fuer die JVM. Generiert bei der Bytegenerierung Header, Constantenpool, usw.</div> <dl><dt><span class="strong">Author:</span></dt> <dd>hama, scju</dd></dl> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- =========== FIELD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="field_summary"> <!-- --> </a> <h3>Field Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> <caption><span>Fields</span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Field and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#hamaAload0">hamaAload0</a></strong></code> </td> </tr> </table> </li> </ul> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_summary"> <!-- --> </a> <h3>Constructor Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> <caption><span>Constructors</span><span class="tabEnd"> </span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tr class="altColor"> <td class="colOne"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#ClassFile()">ClassFile</a></strong>()</code> <div class="block">Default Konstruktor</div> </td> </tr> <tr class="rowColor"> <td class="colOne"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#ClassFile(mycompiler.myinterface.Interface, mycompiler.SourceFile)">ClassFile</a></strong>(<a href="../../mycompiler/myinterface/Interface.html" title="class in mycompiler.myinterface">Interface</a> ic, <a href="../../mycompiler/SourceFile.html" title="class in mycompiler">SourceFile</a> sf)</code> <div class="block">Konstruktor, um Klasseninfos direkt aus dem Interface zu laden</div> </td> </tr> </table> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method_summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span>Methods</span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#add_class(java.lang.String, java.lang.String, java.lang.String, short)">add_class</a></strong>(java.lang.String name, java.lang.String pkgName, java.lang.String super_name, short acc_flag)</code> <div class="block">Fuegt Informationen ueber eine neue Klasse ein.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#add_classblock_Element(mycompiler.mystatement.Assign)">add_classblock_Element</a></strong>(<a href="../../mycompiler/mystatement/Assign.html" title="class in mycompiler.mystatement">Assign</a> a)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#add_CONSTANT_Class_info(java.lang.String)">add_CONSTANT_Class_info</a></strong>(java.lang.String name)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#add_CONSTANT_Integer_info(int)">add_CONSTANT_Integer_info</a></strong>(int i)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#add_CONSTANT_NameAndType_info(java.lang.String, java.lang.String)">add_CONSTANT_NameAndType_info</a></strong>(java.lang.String name, java.lang.String param_type)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#add_CONSTANT_String_info(java.lang.String)">add_CONSTANT_String_info</a></strong>(java.lang.String s)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#add_CONSTANT_Utf8_info(java.lang.String)">add_CONSTANT_Utf8_info</a></strong>(java.lang.String name)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#add_field_ref(java.lang.String, java.lang.String, java.lang.String)">add_field_ref</a></strong>(java.lang.String name, java.lang.String cl_name, java.lang.String type)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#add_field(java.lang.String, java.lang.String, short, mycompiler.mybytecode.Attribute)">add_field</a></strong>(java.lang.String name, java.lang.String type, short acc_flag, <a href="../../mycompiler/mybytecode/Attribute.html" title="class in mycompiler.mybytecode">Attribute</a> attr)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#add_interface(java.lang.String, java.lang.String, java.lang.String, short)">add_interface</a></strong>(java.lang.String name, java.lang.String pkgName, java.lang.String super_name, short acc_flag)</code> <div class="block">Fuegt Informationen ueber ein neues Interface ein.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#add_method_ref(java.lang.String, java.lang.String, java.lang.String)">add_method_ref</a></strong>(java.lang.String cl_name, java.lang.String name, java.lang.String param_type)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#add_method(java.lang.String, java.lang.String, mycompiler.myclass.ParameterList, mycompiler.mytype.Type, mycompiler.mystatement.Block, short, java.util.Vector, boolean)">add_method</a></strong>(java.lang.String name, java.lang.String param_type, <a href="../../mycompiler/myclass/ParameterList.html" title="class in mycompiler.myclass">ParameterList</a> param, <a href="../../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a> type, <a href="../../mycompiler/mystatement/Block.html" title="class in mycompiler.mystatement">Block</a> block, short acc_flag, java.util.Vector paralist, boolean isAbstract)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#addGenerics(java.util.Vector, mycompiler.myclass.UsedId, java.util.Vector)">addGenerics</a></strong>(java.util.Vector<<a href="../../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a>> para, <a href="../../mycompiler/myclass/UsedId.html" title="class in mycompiler.myclass">UsedId</a> superClass, java.util.Vector<<a href="../../mycompiler/myclass/UsedId.html" title="class in mycompiler.myclass">UsedId</a>> superIf)</code> <div class="block">Fuegt ggf.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#addSuperInterfaces(java.util.Vector)">addSuperInterfaces</a></strong>(java.util.Vector<<a href="../../mycompiler/myclass/UsedId.html" title="class in mycompiler.myclass">UsedId</a>> superif)</code> <div class="block">Fuegt die erweiterten (bei Interfaces) implementierten (bei Klassen) Interfaces ein.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#codegen()">codegen</a></strong>()</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>short</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#get_access_flags()">get_access_flags</a></strong>()</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.util.Vector<<a href="../../mycompiler/mybytecode/Attribute.html" title="class in mycompiler.mybytecode">Attribute</a>></code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#get_attributes()">get_attributes</a></strong>()</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>java.util.Vector<<a href="../../mycompiler/mystatement/Assign.html" title="class in mycompiler.mystatement">Assign</a>></code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#get_class_block()">get_class_block</a></strong>()</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>short</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#get_constant_pool_element(byte, java.lang.String)">get_constant_pool_element</a></strong>(byte b, java.lang.String id)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>java.util.Vector<<a href="../../mycompiler/mybytecode/CPInfo.html" title="class in mycompiler.mybytecode">CPInfo</a>></code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#get_constant_pool()">get_constant_pool</a></strong>()</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#get_constructor_founded()">get_constructor_founded</a></strong>()</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>java.util.Vector<<a href="../../mycompiler/mybytecode/FieldInfo.html" title="class in mycompiler.mybytecode">FieldInfo</a>></code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#get_fields()">get_fields</a></strong>()</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.util.Vector<<a href="../../mycompiler/mybytecode/Key.html" title="class in mycompiler.mybytecode">Key</a>></code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#get_key_vector()">get_key_vector</a></strong>()</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>java.util.Vector<<a href="../../mycompiler/mybytecode/MethodInfo.html" title="class in mycompiler.mybytecode">MethodInfo</a>></code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#get_methods()">get_methods</a></strong>()</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>short</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#get_super_class()">get_super_class</a></strong>()</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>short</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#get_this_class()">get_this_class</a></strong>()</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>short</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#getConstantValueID()">getConstantValueID</a></strong>()</code> <div class="block">Gibt den NameIndex auf die UTF-8 Konstante "ConstantValue" zurueck, der fuer die Definition von Konstanten benoetigt wird.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>short</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#getSignatureID()">getSignatureID</a></strong>()</code> <div class="block">Gibt den NameIndex auf die UTF-8 Konstante "Signature" zurueck, der fuer die Definition von Konstanten benoetigt wird.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#set_access_flags(short)">set_access_flags</a></strong>(short t)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#set_attributes(java.util.Vector)">set_attributes</a></strong>(java.util.Vector<<a href="../../mycompiler/mybytecode/Attribute.html" title="class in mycompiler.mybytecode">Attribute</a>> t)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#set_constant_pool(java.util.Vector)">set_constant_pool</a></strong>(java.util.Vector<<a href="../../mycompiler/mybytecode/CPInfo.html" title="class in mycompiler.mybytecode">CPInfo</a>> t)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#set_constructor_founded(boolean)">set_constructor_founded</a></strong>(boolean t)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#set_fields(java.util.Vector)">set_fields</a></strong>(java.util.Vector<<a href="../../mycompiler/mybytecode/FieldInfo.html" title="class in mycompiler.mybytecode">FieldInfo</a>> t)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#set_methods(java.util.Vector)">set_methods</a></strong>(java.util.Vector<<a href="../../mycompiler/mybytecode/MethodInfo.html" title="class in mycompiler.mybytecode">MethodInfo</a>> t)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#set_super_class(short)">set_super_class</a></strong>(short t)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#set_this_class(short)">set_this_class</a></strong>(short t)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#writeByte(java.io.FileOutputStream, byte)">writeByte</a></strong>(java.io.FileOutputStream f, byte i)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#writeByteArray(java.io.FileOutputStream, byte[])">writeByteArray</a></strong>(java.io.FileOutputStream f, byte[] b)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#writeInt(java.io.FileOutputStream, int)">writeInt</a></strong>(java.io.FileOutputStream f, int i)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#writeShort(java.io.FileOutputStream, short)">writeShort</a></strong>(java.io.FileOutputStream f, short i)</code> </td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> <!-- --> </a> <h3>Methods inherited from class java.lang.Object</h3> <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> </ul> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ============ FIELD DETAIL =========== --> <ul class="blockList"> <li class="blockList"><a name="field_detail"> <!-- --> </a> <h3>Field Detail</h3> <a name="hamaAload0"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>hamaAload0</h4> <pre>public boolean hamaAload0</pre> </li> </ul> </li> </ul> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a name="ClassFile()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>ClassFile</h4> <pre>public ClassFile()</pre> <div class="block">Default Konstruktor</div> </li> </ul> <a name="ClassFile(mycompiler.myinterface.Interface, mycompiler.SourceFile)"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>ClassFile</h4> <pre>public ClassFile(<a href="../../mycompiler/myinterface/Interface.html" title="class in mycompiler.myinterface">Interface</a> ic, <a href="../../mycompiler/SourceFile.html" title="class in mycompiler">SourceFile</a> sf)</pre> <div class="block">Konstruktor, um Klasseninfos direkt aus dem Interface zu laden</div> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method_detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="add_CONSTANT_Utf8_info(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add_CONSTANT_Utf8_info</h4> <pre>public int add_CONSTANT_Utf8_info(java.lang.String name)</pre> </li> </ul> <a name="add_CONSTANT_Class_info(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add_CONSTANT_Class_info</h4> <pre>public int add_CONSTANT_Class_info(java.lang.String name)</pre> </li> </ul> <a name="add_CONSTANT_NameAndType_info(java.lang.String, java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add_CONSTANT_NameAndType_info</h4> <pre>public int add_CONSTANT_NameAndType_info(java.lang.String name, java.lang.String param_type)</pre> </li> </ul> <a name="add_CONSTANT_Integer_info(int)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add_CONSTANT_Integer_info</h4> <pre>public int add_CONSTANT_Integer_info(int i)</pre> </li> </ul> <a name="add_CONSTANT_String_info(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add_CONSTANT_String_info</h4> <pre>public int add_CONSTANT_String_info(java.lang.String s)</pre> </li> </ul> <a name="add_class(java.lang.String, java.lang.String, java.lang.String, short)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add_class</h4> <pre>public void add_class(java.lang.String name, java.lang.String pkgName, java.lang.String super_name, short acc_flag)</pre> <div class="block">Fuegt Informationen ueber eine neue Klasse ein. Gleichzeitig wird ein Default-Konstruktor angelegt.</div> </li> </ul> <a name="add_interface(java.lang.String, java.lang.String, java.lang.String, short)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add_interface</h4> <pre>public void add_interface(java.lang.String name, java.lang.String pkgName, java.lang.String super_name, short acc_flag)</pre> <div class="block">Fuegt Informationen ueber ein neues Interface ein.</div> </li> </ul> <a name="addSuperInterfaces(java.util.Vector)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addSuperInterfaces</h4> <pre>public void addSuperInterfaces(java.util.Vector<<a href="../../mycompiler/myclass/UsedId.html" title="class in mycompiler.myclass">UsedId</a>> superif)</pre> <div class="block">Fuegt die erweiterten (bei Interfaces) implementierten (bei Klassen) Interfaces ein.</div> </li> </ul> <a name="addGenerics(java.util.Vector, mycompiler.myclass.UsedId, java.util.Vector)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addGenerics</h4> <pre>public void addGenerics(java.util.Vector<<a href="../../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a>> para, <a href="../../mycompiler/myclass/UsedId.html" title="class in mycompiler.myclass">UsedId</a> superClass, java.util.Vector<<a href="../../mycompiler/myclass/UsedId.html" title="class in mycompiler.myclass">UsedId</a>> superIf)</pre> <div class="block">Fuegt ggf. Generics in den Klassendefintion selbst hinzu.</div> </li> </ul> <a name="add_method(java.lang.String, java.lang.String, mycompiler.myclass.ParameterList, mycompiler.mytype.Type, mycompiler.mystatement.Block, short, java.util.Vector, boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add_method</h4> <pre>public void add_method(java.lang.String name, java.lang.String param_type, <a href="../../mycompiler/myclass/ParameterList.html" title="class in mycompiler.myclass">ParameterList</a> param, <a href="../../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a> type, <a href="../../mycompiler/mystatement/Block.html" title="class in mycompiler.mystatement">Block</a> block, short acc_flag, java.util.Vector paralist, boolean isAbstract) throws <a href="../../mycompiler/myexception/JVMCodeException.html" title="class in mycompiler.myexception">JVMCodeException</a></pre> <dl><dt><span class="strong">Throws:</span></dt> <dd><code><a href="../../mycompiler/myexception/JVMCodeException.html" title="class in mycompiler.myexception">JVMCodeException</a></code></dd></dl> </li> </ul> <a name="add_method_ref(java.lang.String, java.lang.String, java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add_method_ref</h4> <pre>public int add_method_ref(java.lang.String cl_name, java.lang.String name, java.lang.String param_type)</pre> </li> </ul> <a name="getConstantValueID()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getConstantValueID</h4> <pre>public short getConstantValueID()</pre> <div class="block">Gibt den NameIndex auf die UTF-8 Konstante "ConstantValue" zurueck, der fuer die Definition von Konstanten benoetigt wird.</div> </li> </ul> <a name="getSignatureID()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getSignatureID</h4> <pre>public short getSignatureID()</pre> <div class="block">Gibt den NameIndex auf die UTF-8 Konstante "Signature" zurueck, der fuer die Definition von Konstanten benoetigt wird.</div> </li> </ul> <a name="add_field(java.lang.String, java.lang.String, short, mycompiler.mybytecode.Attribute)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add_field</h4> <pre>public void add_field(java.lang.String name, java.lang.String type, short acc_flag, <a href="../../mycompiler/mybytecode/Attribute.html" title="class in mycompiler.mybytecode">Attribute</a> attr)</pre> </li> </ul> <a name="add_field_ref(java.lang.String, java.lang.String, java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add_field_ref</h4> <pre>public int add_field_ref(java.lang.String name, java.lang.String cl_name, java.lang.String type) throws <a href="../../mycompiler/myexception/JVMCodeException.html" title="class in mycompiler.myexception">JVMCodeException</a></pre> <dl><dt><span class="strong">Throws:</span></dt> <dd><code><a href="../../mycompiler/myexception/JVMCodeException.html" title="class in mycompiler.myexception">JVMCodeException</a></code></dd></dl> </li> </ul> <a name="set_constant_pool(java.util.Vector)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>set_constant_pool</h4> <pre>public void set_constant_pool(java.util.Vector<<a href="../../mycompiler/mybytecode/CPInfo.html" title="class in mycompiler.mybytecode">CPInfo</a>> t)</pre> </li> </ul> <a name="set_access_flags(short)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>set_access_flags</h4> <pre>public void set_access_flags(short t)</pre> </li> </ul> <a name="set_this_class(short)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>set_this_class</h4> <pre>public void set_this_class(short t)</pre> </li> </ul> <a name="set_super_class(short)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>set_super_class</h4> <pre>public void set_super_class(short t)</pre> </li> </ul> <a name="set_fields(java.util.Vector)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>set_fields</h4> <pre>public void set_fields(java.util.Vector<<a href="../../mycompiler/mybytecode/FieldInfo.html" title="class in mycompiler.mybytecode">FieldInfo</a>> t)</pre> </li> </ul> <a name="set_methods(java.util.Vector)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>set_methods</h4> <pre>public void set_methods(java.util.Vector<<a href="../../mycompiler/mybytecode/MethodInfo.html" title="class in mycompiler.mybytecode">MethodInfo</a>> t)</pre> </li> </ul> <a name="set_attributes(java.util.Vector)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>set_attributes</h4> <pre>public void set_attributes(java.util.Vector<<a href="../../mycompiler/mybytecode/Attribute.html" title="class in mycompiler.mybytecode">Attribute</a>> t)</pre> </li> </ul> <a name="set_constructor_founded(boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>set_constructor_founded</h4> <pre>public void set_constructor_founded(boolean t)</pre> </li> </ul> <a name="add_classblock_Element(mycompiler.mystatement.Assign)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add_classblock_Element</h4> <pre>public void add_classblock_Element(<a href="../../mycompiler/mystatement/Assign.html" title="class in mycompiler.mystatement">Assign</a> a)</pre> </li> </ul> <a name="get_constant_pool()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>get_constant_pool</h4> <pre>public java.util.Vector<<a href="../../mycompiler/mybytecode/CPInfo.html" title="class in mycompiler.mybytecode">CPInfo</a>> get_constant_pool()</pre> </li> </ul> <a name="get_access_flags()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>get_access_flags</h4> <pre>public short get_access_flags()</pre> </li> </ul> <a name="get_this_class()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>get_this_class</h4> <pre>public short get_this_class()</pre> </li> </ul> <a name="get_super_class()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>get_super_class</h4> <pre>public short get_super_class()</pre> </li> </ul> <a name="get_fields()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>get_fields</h4> <pre>public java.util.Vector<<a href="../../mycompiler/mybytecode/FieldInfo.html" title="class in mycompiler.mybytecode">FieldInfo</a>> get_fields()</pre> </li> </ul> <a name="get_methods()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>get_methods</h4> <pre>public java.util.Vector<<a href="../../mycompiler/mybytecode/MethodInfo.html" title="class in mycompiler.mybytecode">MethodInfo</a>> get_methods()</pre> </li> </ul> <a name="get_attributes()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>get_attributes</h4> <pre>public java.util.Vector<<a href="../../mycompiler/mybytecode/Attribute.html" title="class in mycompiler.mybytecode">Attribute</a>> get_attributes()</pre> </li> </ul> <a name="get_key_vector()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>get_key_vector</h4> <pre>public java.util.Vector<<a href="../../mycompiler/mybytecode/Key.html" title="class in mycompiler.mybytecode">Key</a>> get_key_vector()</pre> </li> </ul> <a name="get_constructor_founded()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>get_constructor_founded</h4> <pre>public boolean get_constructor_founded()</pre> </li> </ul> <a name="get_constant_pool_element(byte, java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>get_constant_pool_element</h4> <pre>public short get_constant_pool_element(byte b, java.lang.String id)</pre> </li> </ul> <a name="get_class_block()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>get_class_block</h4> <pre>public java.util.Vector<<a href="../../mycompiler/mystatement/Assign.html" title="class in mycompiler.mystatement">Assign</a>> get_class_block()</pre> </li> </ul> <a name="codegen()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>codegen</h4> <pre>public void codegen() throws <a href="../../mycompiler/myexception/JVMCodeException.html" title="class in mycompiler.myexception">JVMCodeException</a></pre> <dl><dt><span class="strong">Throws:</span></dt> <dd><code><a href="../../mycompiler/myexception/JVMCodeException.html" title="class in mycompiler.myexception">JVMCodeException</a></code></dd></dl> </li> </ul> <a name="writeInt(java.io.FileOutputStream, int)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>writeInt</h4> <pre>public void writeInt(java.io.FileOutputStream f, int i) throws java.io.IOException</pre> <dl><dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code></dd></dl> </li> </ul> <a name="writeShort(java.io.FileOutputStream, short)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>writeShort</h4> <pre>public void writeShort(java.io.FileOutputStream f, short i) throws java.io.IOException</pre> <dl><dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code></dd></dl> </li> </ul> <a name="writeByte(java.io.FileOutputStream, byte)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>writeByte</h4> <pre>public void writeByte(java.io.FileOutputStream f, byte i) throws java.io.IOException</pre> <dl><dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code></dd></dl> </li> </ul> <a name="writeByteArray(java.io.FileOutputStream, byte[])"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>writeByteArray</h4> <pre>public void writeByteArray(java.io.FileOutputStream f, byte[] b) throws java.io.IOException</pre> <dl><dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code></dd></dl> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar_bottom"> <!-- --> </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/ClassFile.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../index-files/index-1.html">Index</a></li> <li><a href="../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../mycompiler/mybytecode/AttributeInfo.html" title="class in mycompiler.mybytecode"><span class="strong">Prev Class</span></a></li> <li><a href="../../mycompiler/mybytecode/CodeAttribute.html" title="class in mycompiler.mybytecode"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../index.html?mycompiler/mybytecode/ClassFile.html" target="_top">Frames</a></li> <li><a href="ClassFile.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li>Nested | </li> <li><a href="#field_summary">Field</a> | </li> <li><a href="#constructor_summary">Constr</a> | </li> <li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li><a href="#field_detail">Field</a> | </li> <li><a href="#constructor_detail">Constr</a> | </li> <li><a href="#method_detail">Method</a></li> </ul> </div> <a name="skip-navbar_bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> </body> </html>