JavaTXCompilerInJavaTX/doc/LambdaJavadoc/mycompiler/mybytecode/ClassFile.html
2014-02-04 17:44:03 +01:00

927 lines
38 KiB
HTML
Executable File

<!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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</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">&nbsp;</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>&nbsp;</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">&nbsp;</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>&nbsp;ic,
<a href="../../mycompiler/SourceFile.html" title="class in mycompiler">SourceFile</a>&nbsp;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">&nbsp;</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&nbsp;name,
java.lang.String&nbsp;pkgName,
java.lang.String&nbsp;super_name,
short&nbsp;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>&nbsp;a)</code>&nbsp;</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&nbsp;name)</code>&nbsp;</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&nbsp;i)</code>&nbsp;</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&nbsp;name,
java.lang.String&nbsp;param_type)</code>&nbsp;</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&nbsp;s)</code>&nbsp;</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&nbsp;name)</code>&nbsp;</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&nbsp;name,
java.lang.String&nbsp;cl_name,
java.lang.String&nbsp;type)</code>&nbsp;</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&nbsp;name,
java.lang.String&nbsp;type,
short&nbsp;acc_flag,
<a href="../../mycompiler/mybytecode/Attribute.html" title="class in mycompiler.mybytecode">Attribute</a>&nbsp;attr)</code>&nbsp;</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&nbsp;name,
java.lang.String&nbsp;pkgName,
java.lang.String&nbsp;super_name,
short&nbsp;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&nbsp;cl_name,
java.lang.String&nbsp;name,
java.lang.String&nbsp;param_type)</code>&nbsp;</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&nbsp;name,
java.lang.String&nbsp;param_type,
<a href="../../mycompiler/myclass/ParameterList.html" title="class in mycompiler.myclass">ParameterList</a>&nbsp;param,
<a href="../../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a>&nbsp;type,
<a href="../../mycompiler/mystatement/Block.html" title="class in mycompiler.mystatement">Block</a>&nbsp;block,
short&nbsp;acc_flag,
java.util.Vector&nbsp;paralist,
boolean&nbsp;isAbstract)</code>&nbsp;</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&lt;<a href="../../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a>&gt;&nbsp;para,
<a href="../../mycompiler/myclass/UsedId.html" title="class in mycompiler.myclass">UsedId</a>&nbsp;superClass,
java.util.Vector&lt;<a href="../../mycompiler/myclass/UsedId.html" title="class in mycompiler.myclass">UsedId</a>&gt;&nbsp;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&lt;<a href="../../mycompiler/myclass/UsedId.html" title="class in mycompiler.myclass">UsedId</a>&gt;&nbsp;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>&nbsp;</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>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.Vector&lt;<a href="../../mycompiler/mybytecode/Attribute.html" title="class in mycompiler.mybytecode">Attribute</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#get_attributes()">get_attributes</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.Vector&lt;<a href="../../mycompiler/mystatement/Assign.html" title="class in mycompiler.mystatement">Assign</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#get_class_block()">get_class_block</a></strong>()</code>&nbsp;</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&nbsp;b,
java.lang.String&nbsp;id)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.Vector&lt;<a href="../../mycompiler/mybytecode/CPInfo.html" title="class in mycompiler.mybytecode">CPInfo</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#get_constant_pool()">get_constant_pool</a></strong>()</code>&nbsp;</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>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.Vector&lt;<a href="../../mycompiler/mybytecode/FieldInfo.html" title="class in mycompiler.mybytecode">FieldInfo</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#get_fields()">get_fields</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.Vector&lt;<a href="../../mycompiler/mybytecode/Key.html" title="class in mycompiler.mybytecode">Key</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#get_key_vector()">get_key_vector</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.Vector&lt;<a href="../../mycompiler/mybytecode/MethodInfo.html" title="class in mycompiler.mybytecode">MethodInfo</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../mycompiler/mybytecode/ClassFile.html#get_methods()">get_methods</a></strong>()</code>&nbsp;</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>&nbsp;</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>&nbsp;</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&nbsp;t)</code>&nbsp;</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&lt;<a href="../../mycompiler/mybytecode/Attribute.html" title="class in mycompiler.mybytecode">Attribute</a>&gt;&nbsp;t)</code>&nbsp;</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&lt;<a href="../../mycompiler/mybytecode/CPInfo.html" title="class in mycompiler.mybytecode">CPInfo</a>&gt;&nbsp;t)</code>&nbsp;</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&nbsp;t)</code>&nbsp;</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&lt;<a href="../../mycompiler/mybytecode/FieldInfo.html" title="class in mycompiler.mybytecode">FieldInfo</a>&gt;&nbsp;t)</code>&nbsp;</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&lt;<a href="../../mycompiler/mybytecode/MethodInfo.html" title="class in mycompiler.mybytecode">MethodInfo</a>&gt;&nbsp;t)</code>&nbsp;</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&nbsp;t)</code>&nbsp;</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&nbsp;t)</code>&nbsp;</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&nbsp;f,
byte&nbsp;i)</code>&nbsp;</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&nbsp;f,
byte[]&nbsp;b)</code>&nbsp;</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&nbsp;f,
int&nbsp;i)</code>&nbsp;</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&nbsp;f,
short&nbsp;i)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;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&nbsp;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&nbsp;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&nbsp;ClassFile(<a href="../../mycompiler/myinterface/Interface.html" title="class in mycompiler.myinterface">Interface</a>&nbsp;ic,
<a href="../../mycompiler/SourceFile.html" title="class in mycompiler">SourceFile</a>&nbsp;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&nbsp;int&nbsp;add_CONSTANT_Utf8_info(java.lang.String&nbsp;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&nbsp;int&nbsp;add_CONSTANT_Class_info(java.lang.String&nbsp;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&nbsp;int&nbsp;add_CONSTANT_NameAndType_info(java.lang.String&nbsp;name,
java.lang.String&nbsp;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&nbsp;int&nbsp;add_CONSTANT_Integer_info(int&nbsp;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&nbsp;int&nbsp;add_CONSTANT_String_info(java.lang.String&nbsp;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&nbsp;void&nbsp;add_class(java.lang.String&nbsp;name,
java.lang.String&nbsp;pkgName,
java.lang.String&nbsp;super_name,
short&nbsp;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&nbsp;void&nbsp;add_interface(java.lang.String&nbsp;name,
java.lang.String&nbsp;pkgName,
java.lang.String&nbsp;super_name,
short&nbsp;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&nbsp;void&nbsp;addSuperInterfaces(java.util.Vector&lt;<a href="../../mycompiler/myclass/UsedId.html" title="class in mycompiler.myclass">UsedId</a>&gt;&nbsp;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&nbsp;void&nbsp;addGenerics(java.util.Vector&lt;<a href="../../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a>&gt;&nbsp;para,
<a href="../../mycompiler/myclass/UsedId.html" title="class in mycompiler.myclass">UsedId</a>&nbsp;superClass,
java.util.Vector&lt;<a href="../../mycompiler/myclass/UsedId.html" title="class in mycompiler.myclass">UsedId</a>&gt;&nbsp;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&nbsp;void&nbsp;add_method(java.lang.String&nbsp;name,
java.lang.String&nbsp;param_type,
<a href="../../mycompiler/myclass/ParameterList.html" title="class in mycompiler.myclass">ParameterList</a>&nbsp;param,
<a href="../../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a>&nbsp;type,
<a href="../../mycompiler/mystatement/Block.html" title="class in mycompiler.mystatement">Block</a>&nbsp;block,
short&nbsp;acc_flag,
java.util.Vector&nbsp;paralist,
boolean&nbsp;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&nbsp;int&nbsp;add_method_ref(java.lang.String&nbsp;cl_name,
java.lang.String&nbsp;name,
java.lang.String&nbsp;param_type)</pre>
</li>
</ul>
<a name="getConstantValueID()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConstantValueID</h4>
<pre>public&nbsp;short&nbsp;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&nbsp;short&nbsp;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&nbsp;void&nbsp;add_field(java.lang.String&nbsp;name,
java.lang.String&nbsp;type,
short&nbsp;acc_flag,
<a href="../../mycompiler/mybytecode/Attribute.html" title="class in mycompiler.mybytecode">Attribute</a>&nbsp;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&nbsp;int&nbsp;add_field_ref(java.lang.String&nbsp;name,
java.lang.String&nbsp;cl_name,
java.lang.String&nbsp;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&nbsp;void&nbsp;set_constant_pool(java.util.Vector&lt;<a href="../../mycompiler/mybytecode/CPInfo.html" title="class in mycompiler.mybytecode">CPInfo</a>&gt;&nbsp;t)</pre>
</li>
</ul>
<a name="set_access_flags(short)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set_access_flags</h4>
<pre>public&nbsp;void&nbsp;set_access_flags(short&nbsp;t)</pre>
</li>
</ul>
<a name="set_this_class(short)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set_this_class</h4>
<pre>public&nbsp;void&nbsp;set_this_class(short&nbsp;t)</pre>
</li>
</ul>
<a name="set_super_class(short)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set_super_class</h4>
<pre>public&nbsp;void&nbsp;set_super_class(short&nbsp;t)</pre>
</li>
</ul>
<a name="set_fields(java.util.Vector)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set_fields</h4>
<pre>public&nbsp;void&nbsp;set_fields(java.util.Vector&lt;<a href="../../mycompiler/mybytecode/FieldInfo.html" title="class in mycompiler.mybytecode">FieldInfo</a>&gt;&nbsp;t)</pre>
</li>
</ul>
<a name="set_methods(java.util.Vector)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set_methods</h4>
<pre>public&nbsp;void&nbsp;set_methods(java.util.Vector&lt;<a href="../../mycompiler/mybytecode/MethodInfo.html" title="class in mycompiler.mybytecode">MethodInfo</a>&gt;&nbsp;t)</pre>
</li>
</ul>
<a name="set_attributes(java.util.Vector)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set_attributes</h4>
<pre>public&nbsp;void&nbsp;set_attributes(java.util.Vector&lt;<a href="../../mycompiler/mybytecode/Attribute.html" title="class in mycompiler.mybytecode">Attribute</a>&gt;&nbsp;t)</pre>
</li>
</ul>
<a name="set_constructor_founded(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set_constructor_founded</h4>
<pre>public&nbsp;void&nbsp;set_constructor_founded(boolean&nbsp;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&nbsp;void&nbsp;add_classblock_Element(<a href="../../mycompiler/mystatement/Assign.html" title="class in mycompiler.mystatement">Assign</a>&nbsp;a)</pre>
</li>
</ul>
<a name="get_constant_pool()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get_constant_pool</h4>
<pre>public&nbsp;java.util.Vector&lt;<a href="../../mycompiler/mybytecode/CPInfo.html" title="class in mycompiler.mybytecode">CPInfo</a>&gt;&nbsp;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&nbsp;short&nbsp;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&nbsp;short&nbsp;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&nbsp;short&nbsp;get_super_class()</pre>
</li>
</ul>
<a name="get_fields()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get_fields</h4>
<pre>public&nbsp;java.util.Vector&lt;<a href="../../mycompiler/mybytecode/FieldInfo.html" title="class in mycompiler.mybytecode">FieldInfo</a>&gt;&nbsp;get_fields()</pre>
</li>
</ul>
<a name="get_methods()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get_methods</h4>
<pre>public&nbsp;java.util.Vector&lt;<a href="../../mycompiler/mybytecode/MethodInfo.html" title="class in mycompiler.mybytecode">MethodInfo</a>&gt;&nbsp;get_methods()</pre>
</li>
</ul>
<a name="get_attributes()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get_attributes</h4>
<pre>public&nbsp;java.util.Vector&lt;<a href="../../mycompiler/mybytecode/Attribute.html" title="class in mycompiler.mybytecode">Attribute</a>&gt;&nbsp;get_attributes()</pre>
</li>
</ul>
<a name="get_key_vector()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get_key_vector</h4>
<pre>public&nbsp;java.util.Vector&lt;<a href="../../mycompiler/mybytecode/Key.html" title="class in mycompiler.mybytecode">Key</a>&gt;&nbsp;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&nbsp;boolean&nbsp;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&nbsp;short&nbsp;get_constant_pool_element(byte&nbsp;b,
java.lang.String&nbsp;id)</pre>
</li>
</ul>
<a name="get_class_block()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get_class_block</h4>
<pre>public&nbsp;java.util.Vector&lt;<a href="../../mycompiler/mystatement/Assign.html" title="class in mycompiler.mystatement">Assign</a>&gt;&nbsp;get_class_block()</pre>
</li>
</ul>
<a name="codegen()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>codegen</h4>
<pre>public&nbsp;void&nbsp;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&nbsp;void&nbsp;writeInt(java.io.FileOutputStream&nbsp;f,
int&nbsp;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&nbsp;void&nbsp;writeShort(java.io.FileOutputStream&nbsp;f,
short&nbsp;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&nbsp;void&nbsp;writeByte(java.io.FileOutputStream&nbsp;f,
byte&nbsp;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&nbsp;void&nbsp;writeByteArray(java.io.FileOutputStream&nbsp;f,
byte[]&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>