<!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:01 CEST 2013 -->
<title>SourceFile</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="SourceFile";
    }
//-->
</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/SourceFile.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/MyCompilerAPI.html" title="interface in mycompiler"><span class="strong">Prev Class</span></a></li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../index.html?mycompiler/SourceFile.html" target="_top">Frames</a></li>
<li><a href="SourceFile.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</div>
<h2 title="Class SourceFile" class="title">Class SourceFile</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>mycompiler.SourceFile</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">SourceFile</span>
extends java.lang.Object</pre>
</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>java.util.Vector&lt;<a href="../mycompiler/myinterface/Interface.html" title="class in mycompiler.myinterface">Interface</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../mycompiler/SourceFile.html#InterfaceVektor">InterfaceVektor</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.Vector&lt;<a href="../mycompiler/myclass/Class.html" title="class in mycompiler.myclass">Class</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../mycompiler/SourceFile.html#KlassenVektor">KlassenVektor</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../mycompiler/SourceFile.html#READ_OBJECT_SUPERCLASSES_FROM_JRE">READ_OBJECT_SUPERCLASSES_FROM_JRE</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/SourceFile.html#SourceFile()">SourceFile</a></strong>()</code>&nbsp;</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/SourceFile.html#addElement(mycompiler.AClassOrInterface)">addElement</a></strong>(<a href="../mycompiler/AClassOrInterface.html" title="class in mycompiler">AClassOrInterface</a>&nbsp;e)</code>
<div class="block">Fuegt ein neues Element (Interface oder Klasse) hinzu.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../mycompiler/SourceFile.html#addImports(mycompiler.myclass.ImportDeclarations)">addImports</a></strong>(<a href="../mycompiler/myclass/ImportDeclarations.html" title="class in mycompiler.myclass">ImportDeclarations</a>&nbsp;imports)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../mycompiler/SourceFile.html#codegen()">codegen</a></strong>()</code>
<div class="block">Startet die Bytecodegenerierung fuer alle in der Datei
 enthaltenen Klassen und Interfaces.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.Iterator&lt;<a href="../mycompiler/myclass/Class.html" title="class in mycompiler.myclass">Class</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../mycompiler/SourceFile.html#getClassIterator()">getClassIterator</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../mycompiler/myclass/ImportDeclarations.html" title="class in mycompiler.myclass">ImportDeclarations</a></code></td>
<td class="colLast"><code><strong><a href="../mycompiler/SourceFile.html#getImports()">getImports</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.Iterator&lt;<a href="../mycompiler/myinterface/Interface.html" title="class in mycompiler.myinterface">Interface</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../mycompiler/SourceFile.html#getInterfaceIterator()">getInterfaceIterator</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../mycompiler/myclass/UsedId.html" title="class in mycompiler.myclass">UsedId</a></code></td>
<td class="colLast"><code><strong><a href="../mycompiler/SourceFile.html#getPackageName()">getPackageName</a></strong>()</code>
<div class="block">Erzeugt f�r jede Klasse einen Vector, in den Referenzen auf die GenericTypeVars 
 dieser Klasse gespeichert werden.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../mycompiler/mytypereconstruction/unify/FC_TTO.html" title="class in mycompiler.mytypereconstruction.unify">FC_TTO</a></code></td>
<td class="colLast"><code><strong><a href="../mycompiler/SourceFile.html#makeFC()">makeFC</a></strong>()</code>
<div class="block">Erstellt die Finite Closure</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../mycompiler/SourceFile.html#sc_check(boolean)">sc_check</a></strong>(boolean&nbsp;ext)</code>
<div class="block">DEPRECATED.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../mycompiler/SourceFile.html#setPackageName(mycompiler.myclass.UsedId)">setPackageName</a></strong>(<a href="../mycompiler/myclass/UsedId.html" title="class in mycompiler.myclass">UsedId</a>&nbsp;pkgName)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.Vector&lt;<a href="../mycompiler/mytypereconstruction/CTypeReconstructionResult.html" title="class in mycompiler.mytypereconstruction">CTypeReconstructionResult</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../mycompiler/SourceFile.html#typeReconstruction()">typeReconstruction</a></strong>()</code>
<div class="block">Tyrekonstruktionsalgorithmus: ruft f�r jede Klasse den Algorithmus TRProg auf.</div>
</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="READ_OBJECT_SUPERCLASSES_FROM_JRE">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>READ_OBJECT_SUPERCLASSES_FROM_JRE</h4>
<pre>public static final&nbsp;boolean READ_OBJECT_SUPERCLASSES_FROM_JRE</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../constant-values.html#mycompiler.SourceFile.READ_OBJECT_SUPERCLASSES_FROM_JRE">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="KlassenVektor">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>KlassenVektor</h4>
<pre>public&nbsp;java.util.Vector&lt;<a href="../mycompiler/myclass/Class.html" title="class in mycompiler.myclass">Class</a>&gt; KlassenVektor</pre>
</li>
</ul>
<a name="InterfaceVektor">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>InterfaceVektor</h4>
<pre>public&nbsp;java.util.Vector&lt;<a href="../mycompiler/myinterface/Interface.html" title="class in mycompiler.myinterface">Interface</a>&gt; InterfaceVektor</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="SourceFile()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SourceFile</h4>
<pre>public&nbsp;SourceFile()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="sc_check(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sc_check</h4>
<pre>public&nbsp;void&nbsp;sc_check(boolean&nbsp;ext)
              throws <a href="../mycompiler/myexception/SCException.html" title="class in mycompiler.myexception">SCException</a></pre>
<div class="block">DEPRECATED. Wird nicht mehr benutzt, TypeReconstruction uebernimmt
 diese Aufgabe.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../mycompiler/myexception/SCException.html" title="class in mycompiler.myexception">SCException</a></code></dd></dl>
</li>
</ul>
<a name="addElement(mycompiler.AClassOrInterface)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addElement</h4>
<pre>public&nbsp;void&nbsp;addElement(<a href="../mycompiler/AClassOrInterface.html" title="class in mycompiler">AClassOrInterface</a>&nbsp;e)</pre>
<div class="block">Fuegt ein neues Element (Interface oder Klasse) hinzu.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>c</code> - </dd></dl>
</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>
<div class="block">Startet die Bytecodegenerierung fuer alle in der Datei
 enthaltenen Klassen und Interfaces.</div>
<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="makeFC()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>makeFC</h4>
<pre>public&nbsp;<a href="../mycompiler/mytypereconstruction/unify/FC_TTO.html" title="class in mycompiler.mytypereconstruction.unify">FC_TTO</a>&nbsp;makeFC()</pre>
<div class="block">Erstellt die Finite Closure</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>FC_TTO-Object, welches die Finite Closure repr�sentiert</dd></dl>
</li>
</ul>
<a name="typeReconstruction()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>typeReconstruction</h4>
<pre>public&nbsp;java.util.Vector&lt;<a href="../mycompiler/mytypereconstruction/CTypeReconstructionResult.html" title="class in mycompiler.mytypereconstruction">CTypeReconstructionResult</a>&gt;&nbsp;typeReconstruction()
                                                               throws <a href="../mycompiler/myexception/CTypeReconstructionException.html" title="class in mycompiler.myexception">CTypeReconstructionException</a></pre>
<div class="block">Tyrekonstruktionsalgorithmus: ruft f�r jede Klasse den Algorithmus TRProg auf.
 Dessen Ergebnismenge A, die Menge aller Typannahmen, f�r eine Klasse dient als
 Eingabe f�r TRProg der n�chsten Klasse. Am Ende enth�lt A alle m�glichen
 Typkombinationen f�r alle Klassen zusammen.
 <br>Author: J�rg B�uerle</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Liste aller m�glichen Typkombinationen</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../mycompiler/myexception/CTypeReconstructionException.html" title="class in mycompiler.myexception">CTypeReconstructionException</a></code> - Wenn was schief l�uft</dd></dl>
</li>
</ul>
<a name="getPackageName()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPackageName</h4>
<pre>public&nbsp;<a href="../mycompiler/myclass/UsedId.html" title="class in mycompiler.myclass">UsedId</a>&nbsp;getPackageName()</pre>
<div class="block">Erzeugt f�r jede Klasse einen Vector, in den Referenzen auf die GenericTypeVars 
 dieser Klasse gespeichert werden. Diese Vectoren werden unter den Klassennamen  
 in der 
 Ergebnisdatenstruktur abgelegt. Au�erdem werden alle Klassennamen gespeichert.
 <br/>Author: J�rg B�uerle</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>res</code> - /
 /*private void addClassNamesAndGenericsToRR(CTypeReconstructionResult res){
 Iterator<Class> it = this.getClassIterator();
 while(it.hasNext()){
 Class cl = it.next();
 res.addClassName(cl.get_classname());
 Vector<GenericTypeVar> genericsList = new Vector<GenericTypeVar>();
 
 for(int i =0; i<cl.get_ParaList().size(); i++){
 Type para = (Type)cl.get_ParaList().elementAt(i);
 if(para instanceof GenericTypeVar){
 genericsList.addElement((GenericTypeVar)para);
 }
 }
 res.addGenericTypeVars(cl.get_classname(), genericsList);
 }
 }</dd></dl>
</li>
</ul>
<a name="setPackageName(mycompiler.myclass.UsedId)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPackageName</h4>
<pre>public&nbsp;void&nbsp;setPackageName(<a href="../mycompiler/myclass/UsedId.html" title="class in mycompiler.myclass">UsedId</a>&nbsp;pkgName)</pre>
</li>
</ul>
<a name="addImports(mycompiler.myclass.ImportDeclarations)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addImports</h4>
<pre>public&nbsp;void&nbsp;addImports(<a href="../mycompiler/myclass/ImportDeclarations.html" title="class in mycompiler.myclass">ImportDeclarations</a>&nbsp;imports)</pre>
</li>
</ul>
<a name="getImports()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getImports</h4>
<pre>public&nbsp;<a href="../mycompiler/myclass/ImportDeclarations.html" title="class in mycompiler.myclass">ImportDeclarations</a>&nbsp;getImports()</pre>
</li>
</ul>
<a name="getClassIterator()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClassIterator</h4>
<pre>public&nbsp;java.util.Iterator&lt;<a href="../mycompiler/myclass/Class.html" title="class in mycompiler.myclass">Class</a>&gt;&nbsp;getClassIterator()</pre>
</li>
</ul>
<a name="getInterfaceIterator()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getInterfaceIterator</h4>
<pre>public&nbsp;java.util.Iterator&lt;<a href="../mycompiler/myinterface/Interface.html" title="class in mycompiler.myinterface">Interface</a>&gt;&nbsp;getInterfaceIterator()</pre>
</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/SourceFile.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/MyCompilerAPI.html" title="interface in mycompiler"><span class="strong">Prev Class</span></a></li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../index.html?mycompiler/SourceFile.html" target="_top">Frames</a></li>
<li><a href="SourceFile.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>