973 lines
52 KiB
HTML
973 lines
52 KiB
HTML
<!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 (1.8.0_05) on Tue May 12 19:56:23 CEST 2015 -->
|
||
<title>SourceFile</title>
|
||
<meta name="date" content="2015-05-12">
|
||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
|
||
<script type="text/javascript" src="../../../script.js"></script>
|
||
</head>
|
||
<body>
|
||
<script type="text/javascript"><!--
|
||
try {
|
||
if (location.href.indexOf('is-external=true') == -1) {
|
||
parent.document.title="SourceFile";
|
||
}
|
||
}
|
||
catch(err) {
|
||
}
|
||
//-->
|
||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":42,"i22":10,"i23":10,"i24":10};
|
||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
|
||
var altColor = "altColor";
|
||
var rowColor = "rowColor";
|
||
var tableTab = "tableTab";
|
||
var activeTableTab = "activeTableTab";
|
||
</script>
|
||
<noscript>
|
||
<div>JavaScript is disabled on your browser.</div>
|
||
</noscript>
|
||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||
<div class="topNav"><a name="navbar.top">
|
||
<!-- -->
|
||
</a>
|
||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||
<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="../../../de/dhbwstuttgart/syntaxtree/ParameterList.html" title="class in de.dhbwstuttgart.syntaxtree"><span class="typeNameLink">Prev Class</span></a></li>
|
||
<li><a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html" title="class in de.dhbwstuttgart.syntaxtree"><span class="typeNameLink">Next Class</span></a></li>
|
||
</ul>
|
||
<ul class="navList">
|
||
<li><a href="../../../index.html?de/dhbwstuttgart/syntaxtree/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: </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">de.dhbwstuttgart.syntaxtree</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><a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html" title="class in de.dhbwstuttgart.syntaxtree">de.dhbwstuttgart.syntaxtree.SyntaxTreeNode</a></li>
|
||
<li>
|
||
<ul class="inheritance">
|
||
<li>de.dhbwstuttgart.syntaxtree.SourceFile</li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
<div class="description">
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<dl>
|
||
<dt>All Implemented Interfaces:</dt>
|
||
<dd><a href="../../../de/dhbwstuttgart/core/IItemWithOffset.html" title="interface in de.dhbwstuttgart.core">IItemWithOffset</a></dd>
|
||
</dl>
|
||
<hr>
|
||
<br>
|
||
<pre>public class <span class="typeNameLabel">SourceFile</span>
|
||
extends <a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html" title="class in de.dhbwstuttgart.syntaxtree">SyntaxTreeNode</a></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="memberSummary" 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>private java.util.Hashtable<java.lang.String,java.lang.String></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#baseTypeTranslationTable">baseTypeTranslationTable</a></span></code>
|
||
<div class="block">Table zum Ãbersetzen der nicht implementierten Base-Types:
|
||
Ãberall im Compiler wird statt bspw. int Integer verwendet
|
||
d.h. 1+2 liefert ein Integer
|
||
Deshalb benötigen wir hier eine Tabelle, mit der man die von
|
||
der JRE gelieferten Base-Typen (int,char, etc) und die Objekt-
|
||
Typen umwandeln können</div>
|
||
</td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><code>protected static <a href="../../../de/dhbwstuttgart/logger/Logger.html" title="class in de.dhbwstuttgart.logger">Logger</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#codegenlog">codegenlog</a></span></code> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><code>private <a href="../../../de/dhbwstuttgart/syntaxtree/ImportDeclarations.html" title="class in de.dhbwstuttgart.syntaxtree">ImportDeclarations</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#imports">imports</a></span></code>
|
||
<div class="block">HOTI 4.5.06
|
||
Beinhaltet alle Imports des aktuell geparsten Files
|
||
in Form einer UsedId</div>
|
||
</td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><code>protected static <a href="../../../de/dhbwstuttgart/logger/Logger.html" title="class in de.dhbwstuttgart.logger">Logger</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#inferencelog">inferencelog</a></span></code> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><code><a href="../../../de/dhbwstuttgart/typeinference/Menge.html" title="class in de.dhbwstuttgart.typeinference">Menge</a><<a href="../../../de/dhbwstuttgart/syntaxtree/Interface.html" title="class in de.dhbwstuttgart.syntaxtree">Interface</a>></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#InterfaceVektor">InterfaceVektor</a></span></code> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><code><a href="../../../de/dhbwstuttgart/typeinference/Menge.html" title="class in de.dhbwstuttgart.typeinference">Menge</a><<a href="../../../de/dhbwstuttgart/syntaxtree/Class.html" title="class in de.dhbwstuttgart.syntaxtree">Class</a>></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#KlassenVektor">KlassenVektor</a></span></code> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><code>private static boolean</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#LOAD_BASIC_ASSUMPTIONS_FROM_JRE">LOAD_BASIC_ASSUMPTIONS_FROM_JRE</a></span></code> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><code>private <a href="../../../de/dhbwstuttgart/syntaxtree/misc/UsedId.html" title="class in de.dhbwstuttgart.syntaxtree.misc">UsedId</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#pkgName">pkgName</a></span></code> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><code>private static boolean</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#READ_BASE_TYPE_SUPERCLASSES_FROM_JRE">READ_BASE_TYPE_SUPERCLASSES_FROM_JRE</a></span></code>
|
||
<div class="block">Wenn dieses Flag auf <b>false</b> ist, werden für alle Basisklassen (definiert
|
||
durch die Hashtable baseTypeTranslationTable) KEINE Superklassen geladen.</div>
|
||
</td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><code>private static boolean</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#READ_IMPORTED_SUPERCLASSES_FROM_JRE">READ_IMPORTED_SUPERCLASSES_FROM_JRE</a></span></code> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><code>static boolean</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#READ_OBJECT_SUPERCLASSES_FROM_JRE">READ_OBJECT_SUPERCLASSES_FROM_JRE</a></span></code> </td>
|
||
</tr>
|
||
</table>
|
||
<ul class="blockList">
|
||
<li class="blockList"><a name="fields.inherited.from.class.de.dhbwstuttgart.syntaxtree.SyntaxTreeNode">
|
||
<!-- -->
|
||
</a>
|
||
<h3>Fields inherited from class de.dhbwstuttgart.syntaxtree.<a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html" title="class in de.dhbwstuttgart.syntaxtree">SyntaxTreeNode</a></h3>
|
||
<code><a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html#parent">parent</a></code></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||
<ul class="blockList">
|
||
<li class="blockList"><a name="constructor.summary">
|
||
<!-- -->
|
||
</a>
|
||
<h3>Constructor Summary</h3>
|
||
<table class="memberSummary" 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><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#SourceFile--">SourceFile</a></span>()</code>
|
||
<div class="block">Die SourceFile repräsntiert eine zu einem Syntaxbaum eingelesene Java-Datei.</div>
|
||
</td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#SourceFile-de.dhbwstuttgart.typeinference.Menge-">SourceFile</a></span>(<a href="../../../de/dhbwstuttgart/typeinference/Menge.html" title="class in de.dhbwstuttgart.typeinference">Menge</a><<a href="../../../de/dhbwstuttgart/syntaxtree/Class.html" title="class in de.dhbwstuttgart.syntaxtree">Class</a>> classDefinitions)</code> </td>
|
||
</tr>
|
||
</table>
|
||
</li>
|
||
</ul>
|
||
<!-- ========== METHOD SUMMARY =========== -->
|
||
<ul class="blockList">
|
||
<li class="blockList"><a name="method.summary">
|
||
<!-- -->
|
||
</a>
|
||
<h3>Method Summary</h3>
|
||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||
<tr>
|
||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||
<th class="colLast" scope="col">Method and Description</th>
|
||
</tr>
|
||
<tr id="i0" class="altColor">
|
||
<td class="colFirst"><code>void</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#addElement-de.dhbwstuttgart.core.AClassOrInterface-">addElement</a></span>(<a href="../../../de/dhbwstuttgart/core/AClassOrInterface.html" title="interface in de.dhbwstuttgart.core">AClassOrInterface</a> e)</code>
|
||
<div class="block">Fuegt ein neues Element (Interface oder Klasse) hinzu.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i1" class="rowColor">
|
||
<td class="colFirst"><code>void</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#addImports-de.dhbwstuttgart.syntaxtree.ImportDeclarations-">addImports</a></span>(<a href="../../../de/dhbwstuttgart/syntaxtree/ImportDeclarations.html" title="class in de.dhbwstuttgart.syntaxtree">ImportDeclarations</a> imports)</code> </td>
|
||
</tr>
|
||
<tr id="i2" class="altColor">
|
||
<td class="colFirst"><code>private boolean</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#containsString-de.dhbwstuttgart.typeinference.Menge-java.lang.String-">containsString</a></span>(<a href="../../../de/dhbwstuttgart/typeinference/Menge.html" title="class in de.dhbwstuttgart.typeinference">Menge</a><<a href="../../../de/dhbwstuttgart/syntaxtree/misc/UsedId.html" title="class in de.dhbwstuttgart.syntaxtree.misc">UsedId</a>> searchMenge,
|
||
java.lang.String searchString)</code> </td>
|
||
</tr>
|
||
<tr id="i3" class="rowColor">
|
||
<td class="colFirst"><code>private <a href="../../../de/dhbwstuttgart/typeinference/Pair.html" title="class in de.dhbwstuttgart.typeinference">Pair</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#createPairFromClassAndSuperclass-de.dhbwstuttgart.syntaxtree.Class-de.dhbwstuttgart.syntaxtree.type.Type-de.dhbwstuttgart.typeinference.Menge-de.dhbwstuttgart.typeinference.Menge-de.dhbwstuttgart.typeinference.assumptions.TypeAssumptions-">createPairFromClassAndSuperclass</a></span>(<a href="../../../de/dhbwstuttgart/syntaxtree/Class.html" title="class in de.dhbwstuttgart.syntaxtree">Class</a> baseClass,
|
||
<a href="../../../de/dhbwstuttgart/syntaxtree/type/Type.html" title="class in de.dhbwstuttgart.syntaxtree.type">Type</a> superclass,
|
||
<a href="../../../de/dhbwstuttgart/typeinference/Menge.html" title="class in de.dhbwstuttgart.typeinference">Menge</a> classParaOrg,
|
||
<a href="../../../de/dhbwstuttgart/typeinference/Menge.html" title="class in de.dhbwstuttgart.typeinference">Menge</a> superclassParaOrg,
|
||
<a href="../../../de/dhbwstuttgart/typeinference/assumptions/TypeAssumptions.html" title="class in de.dhbwstuttgart.typeinference.assumptions">TypeAssumptions</a> ass)</code>
|
||
<div class="block">Erstellt ein Typ-Paar, welches im 1.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i4" class="altColor">
|
||
<td class="colFirst"><code>private <a href="../../../de/dhbwstuttgart/syntaxtree/type/Type.html" title="class in de.dhbwstuttgart.syntaxtree.type">Type</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#createTypeFromJavaGenericType-java.lang.reflect.Type-java.lang.Class-java.util.Hashtable-de.dhbwstuttgart.syntaxtree.Class-">createTypeFromJavaGenericType</a></span>(java.lang.reflect.Type type,
|
||
java.lang.Class<?> cl,
|
||
java.util.Hashtable<java.lang.String,<a href="../../../de/dhbwstuttgart/syntaxtree/type/GenericTypeVar.html" title="class in de.dhbwstuttgart.syntaxtree.type">GenericTypeVar</a>> jreSpiderRegistry,
|
||
<a href="../../../de/dhbwstuttgart/syntaxtree/Class.html" title="class in de.dhbwstuttgart.syntaxtree">Class</a> parentClass)</code> </td>
|
||
</tr>
|
||
<tr id="i5" class="rowColor">
|
||
<td class="colFirst"><code><a href="../../../de/dhbwstuttgart/typeinference/Menge.html" title="class in de.dhbwstuttgart.typeinference">Menge</a><<a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html" title="class in de.dhbwstuttgart.syntaxtree">SyntaxTreeNode</a>></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#getChildren--">getChildren</a></span>()</code> </td>
|
||
</tr>
|
||
<tr id="i6" class="altColor">
|
||
<td class="colFirst"><code>java.util.Iterator<<a href="../../../de/dhbwstuttgart/syntaxtree/Class.html" title="class in de.dhbwstuttgart.syntaxtree">Class</a>></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#getClassIterator--">getClassIterator</a></span>()</code> </td>
|
||
</tr>
|
||
<tr id="i7" class="rowColor">
|
||
<td class="colFirst"><code><a href="../../../de/dhbwstuttgart/syntaxtree/ImportDeclarations.html" title="class in de.dhbwstuttgart.syntaxtree">ImportDeclarations</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#getImports--">getImports</a></span>()</code> </td>
|
||
</tr>
|
||
<tr id="i8" class="altColor">
|
||
<td class="colFirst"><code>java.util.Iterator<<a href="../../../de/dhbwstuttgart/syntaxtree/Interface.html" title="class in de.dhbwstuttgart.syntaxtree">Interface</a>></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#getInterfaceIterator--">getInterfaceIterator</a></span>()</code> </td>
|
||
</tr>
|
||
<tr id="i9" class="rowColor">
|
||
<td class="colFirst"><code>int</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#getOffset--">getOffset</a></span>()</code> </td>
|
||
</tr>
|
||
<tr id="i10" class="altColor">
|
||
<td class="colFirst"><code><a href="../../../de/dhbwstuttgart/syntaxtree/misc/UsedId.html" title="class in de.dhbwstuttgart.syntaxtree.misc">UsedId</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#getPackageName--">getPackageName</a></span>()</code>
|
||
<div class="block">Erzeugt f�r jede Klasse einen Menge, in den Referenzen auf die GenericTypeVars
|
||
dieser Klasse gespeichert werden.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i11" class="rowColor">
|
||
<td class="colFirst"><code><a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html" title="class in de.dhbwstuttgart.syntaxtree">SyntaxTreeNode</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#getParent--">getParent</a></span>()</code> </td>
|
||
</tr>
|
||
<tr id="i12" class="altColor">
|
||
<td class="colFirst"><code><a href="../../../de/dhbwstuttgart/typeinference/assumptions/TypeAssumptions.html" title="class in de.dhbwstuttgart.typeinference.assumptions">TypeAssumptions</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#getPublicFieldAssumptions--">getPublicFieldAssumptions</a></span>()</code> </td>
|
||
</tr>
|
||
<tr id="i13" class="rowColor">
|
||
<td class="colFirst"><code>private <a href="../../../de/dhbwstuttgart/syntaxtree/Class.html" title="class in de.dhbwstuttgart.syntaxtree">Class</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#getSuperClassOfJREClass-java.lang.Class-de.dhbwstuttgart.typeinference.assumptions.TypeAssumptions-">getSuperClassOfJREClass</a></span>(java.lang.Class<?> x,
|
||
<a href="../../../de/dhbwstuttgart/typeinference/assumptions/TypeAssumptions.html" title="class in de.dhbwstuttgart.typeinference.assumptions">TypeAssumptions</a> ass)</code> </td>
|
||
</tr>
|
||
<tr id="i14" class="altColor">
|
||
<td class="colFirst"><code>int</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#getVariableLength--">getVariableLength</a></span>()</code> </td>
|
||
</tr>
|
||
<tr id="i15" class="rowColor">
|
||
<td class="colFirst"><code>private boolean</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#isBaseType-java.lang.String-">isBaseType</a></span>(java.lang.String type)</code> </td>
|
||
</tr>
|
||
<tr id="i16" class="altColor">
|
||
<td class="colFirst"><code>private <a href="../../../de/dhbwstuttgart/typeinference/assumptions/TypeAssumptions.html" title="class in de.dhbwstuttgart.typeinference.assumptions">TypeAssumptions</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#makeBasicAssumptions--">makeBasicAssumptions</a></span>()</code>
|
||
<div class="block">Erzeugt die Anfangsinformationen �ber bereits bekannte Klassen.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i17" class="rowColor">
|
||
<td class="colFirst"><code>private <a href="../../../de/dhbwstuttgart/typeinference/assumptions/TypeAssumptions.html" title="class in de.dhbwstuttgart.typeinference.assumptions">TypeAssumptions</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#makeBasicAssumptionsFromJRE-de.dhbwstuttgart.typeinference.Menge-boolean-">makeBasicAssumptionsFromJRE</a></span>(<a href="../../../de/dhbwstuttgart/typeinference/Menge.html" title="class in de.dhbwstuttgart.typeinference">Menge</a><<a href="../../../de/dhbwstuttgart/syntaxtree/misc/UsedId.html" title="class in de.dhbwstuttgart.syntaxtree.misc">UsedId</a>> imports,
|
||
boolean withSubtypes)</code>
|
||
<div class="block">Erstellt die Assumptions der standardmäÃig importierten Packages (java.lang.) sowie der von imports übergebenen Klassen zusammen.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i18" class="altColor">
|
||
<td class="colFirst"><code><a href="../../../de/dhbwstuttgart/typeinference/unify/FC_TTO.html" title="class in de.dhbwstuttgart.typeinference.unify">FC_TTO</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#makeFC-de.dhbwstuttgart.typeinference.assumptions.TypeAssumptions-">makeFC</a></span>(<a href="../../../de/dhbwstuttgart/typeinference/assumptions/TypeAssumptions.html" title="class in de.dhbwstuttgart.typeinference.assumptions">TypeAssumptions</a> ass)</code>
|
||
<div class="block">Erstellt die Finite Closure</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i19" class="rowColor">
|
||
<td class="colFirst"><code>void</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#parserPostProcessing-de.dhbwstuttgart.syntaxtree.SyntaxTreeNode-">parserPostProcessing</a></span>(<a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html" title="class in de.dhbwstuttgart.syntaxtree">SyntaxTreeNode</a> parent)</code>
|
||
<div class="block">Wird nach dem Parsen aufgerufen.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i20" class="altColor">
|
||
<td class="colFirst"><code>private void</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#removeBasicAssumptions--">removeBasicAssumptions</a></span>()</code>
|
||
<div class="block">L�scht die Anfangsinformation wieder aus dem Klassenvektor
|
||
<br/>Author: J�rg B�uerle</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i21" class="rowColor">
|
||
<td class="colFirst"><code>void</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#setFileName-java.lang.String-">setFileName</a></span>(java.lang.String filename)</code>
|
||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i22" class="altColor">
|
||
<td class="colFirst"><code>private void</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#setImports-de.dhbwstuttgart.syntaxtree.ImportDeclarations-">setImports</a></span>(<a href="../../../de/dhbwstuttgart/syntaxtree/ImportDeclarations.html" title="class in de.dhbwstuttgart.syntaxtree">ImportDeclarations</a> newImports)</code> </td>
|
||
</tr>
|
||
<tr id="i23" class="rowColor">
|
||
<td class="colFirst"><code>void</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#setPackageName-de.dhbwstuttgart.syntaxtree.misc.UsedId-">setPackageName</a></span>(<a href="../../../de/dhbwstuttgart/syntaxtree/misc/UsedId.html" title="class in de.dhbwstuttgart.syntaxtree.misc">UsedId</a> pkgName)</code> </td>
|
||
</tr>
|
||
<tr id="i24" class="altColor">
|
||
<td class="colFirst"><code><a href="../../../de/dhbwstuttgart/typeinference/Menge.html" title="class in de.dhbwstuttgart.typeinference">Menge</a><<a href="../../../de/dhbwstuttgart/typeinference/TypeinferenceResultSet.html" title="class in de.dhbwstuttgart.typeinference">TypeinferenceResultSet</a>></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/dhbwstuttgart/syntaxtree/SourceFile.html#typeReconstruction-de.dhbwstuttgart.typeinference.assumptions.TypeAssumptions-">typeReconstruction</a></span>(<a href="../../../de/dhbwstuttgart/typeinference/assumptions/TypeAssumptions.html" title="class in de.dhbwstuttgart.typeinference.assumptions">TypeAssumptions</a> globalAssumptions)</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.de.dhbwstuttgart.syntaxtree.SyntaxTreeNode">
|
||
<!-- -->
|
||
</a>
|
||
<h3>Methods inherited from class de.dhbwstuttgart.syntaxtree.<a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html" title="class in de.dhbwstuttgart.syntaxtree">SyntaxTreeNode</a></h3>
|
||
<code><a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html#addTypeInsertPoints-de.dhbwstuttgart.typeinference.typedeployment.TypeInsertSet-de.dhbwstuttgart.typeinference.ResultSet-">addTypeInsertPoints</a>, <a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html#equals-java.lang.Object-">equals</a>, <a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html#getDescription--">getDescription</a>, <a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html#getGTVDeclarationContext--">getGTVDeclarationContext</a>, <a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html#getMatchingParentNode-de.dhbwstuttgart.syntaxtree.SyntaxTreeNode-">getMatchingParentNode</a>, <a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html#getParentClass--">getParentClass</a>, <a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html#seesType-de.dhbwstuttgart.syntaxtree.type.Type-">seesType</a></code></li>
|
||
</ul>
|
||
<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>clone, finalize, 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="LOAD_BASIC_ASSUMPTIONS_FROM_JRE">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>LOAD_BASIC_ASSUMPTIONS_FROM_JRE</h4>
|
||
<pre>private static final boolean LOAD_BASIC_ASSUMPTIONS_FROM_JRE</pre>
|
||
<dl>
|
||
<dt><span class="seeLabel">See Also:</span></dt>
|
||
<dd><a href="../../../constant-values.html#de.dhbwstuttgart.syntaxtree.SourceFile.LOAD_BASIC_ASSUMPTIONS_FROM_JRE">Constant Field Values</a></dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<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 boolean READ_OBJECT_SUPERCLASSES_FROM_JRE</pre>
|
||
<dl>
|
||
<dt><span class="seeLabel">See Also:</span></dt>
|
||
<dd><a href="../../../constant-values.html#de.dhbwstuttgart.syntaxtree.SourceFile.READ_OBJECT_SUPERCLASSES_FROM_JRE">Constant Field Values</a></dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="READ_BASE_TYPE_SUPERCLASSES_FROM_JRE">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>READ_BASE_TYPE_SUPERCLASSES_FROM_JRE</h4>
|
||
<pre>private static final boolean READ_BASE_TYPE_SUPERCLASSES_FROM_JRE</pre>
|
||
<div class="block">Wenn dieses Flag auf <b>false</b> ist, werden für alle Basisklassen (definiert
|
||
durch die Hashtable baseTypeTranslationTable) KEINE Superklassen geladen. D.h.
|
||
Integer hat bspw. nicht die Superklasse Number sondern OBJECT.
|
||
Dies verursacht bei den Int-Operationen ein Problem
|
||
(+,-,*,/,<,>,...)</div>
|
||
<dl>
|
||
<dt><span class="seeLabel">See Also:</span></dt>
|
||
<dd><a href="../../../constant-values.html#de.dhbwstuttgart.syntaxtree.SourceFile.READ_BASE_TYPE_SUPERCLASSES_FROM_JRE">Constant Field Values</a></dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="READ_IMPORTED_SUPERCLASSES_FROM_JRE">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>READ_IMPORTED_SUPERCLASSES_FROM_JRE</h4>
|
||
<pre>private static final boolean READ_IMPORTED_SUPERCLASSES_FROM_JRE</pre>
|
||
<dl>
|
||
<dt><span class="seeLabel">See Also:</span></dt>
|
||
<dd><a href="../../../constant-values.html#de.dhbwstuttgart.syntaxtree.SourceFile.READ_IMPORTED_SUPERCLASSES_FROM_JRE">Constant Field Values</a></dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="codegenlog">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>codegenlog</h4>
|
||
<pre>protected static <a href="../../../de/dhbwstuttgart/logger/Logger.html" title="class in de.dhbwstuttgart.logger">Logger</a> codegenlog</pre>
|
||
</li>
|
||
</ul>
|
||
<a name="inferencelog">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>inferencelog</h4>
|
||
<pre>protected static <a href="../../../de/dhbwstuttgart/logger/Logger.html" title="class in de.dhbwstuttgart.logger">Logger</a> inferencelog</pre>
|
||
</li>
|
||
</ul>
|
||
<a name="pkgName">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>pkgName</h4>
|
||
<pre>private <a href="../../../de/dhbwstuttgart/syntaxtree/misc/UsedId.html" title="class in de.dhbwstuttgart.syntaxtree.misc">UsedId</a> pkgName</pre>
|
||
</li>
|
||
</ul>
|
||
<a name="KlassenVektor">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>KlassenVektor</h4>
|
||
<pre>public <a href="../../../de/dhbwstuttgart/typeinference/Menge.html" title="class in de.dhbwstuttgart.typeinference">Menge</a><<a href="../../../de/dhbwstuttgart/syntaxtree/Class.html" title="class in de.dhbwstuttgart.syntaxtree">Class</a>> KlassenVektor</pre>
|
||
</li>
|
||
</ul>
|
||
<a name="InterfaceVektor">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>InterfaceVektor</h4>
|
||
<pre>public <a href="../../../de/dhbwstuttgart/typeinference/Menge.html" title="class in de.dhbwstuttgart.typeinference">Menge</a><<a href="../../../de/dhbwstuttgart/syntaxtree/Interface.html" title="class in de.dhbwstuttgart.syntaxtree">Interface</a>> InterfaceVektor</pre>
|
||
</li>
|
||
</ul>
|
||
<a name="imports">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>imports</h4>
|
||
<pre>private <a href="../../../de/dhbwstuttgart/syntaxtree/ImportDeclarations.html" title="class in de.dhbwstuttgart.syntaxtree">ImportDeclarations</a> imports</pre>
|
||
<div class="block">HOTI 4.5.06
|
||
Beinhaltet alle Imports des aktuell geparsten Files
|
||
in Form einer UsedId</div>
|
||
</li>
|
||
</ul>
|
||
<a name="baseTypeTranslationTable">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockListLast">
|
||
<li class="blockList">
|
||
<h4>baseTypeTranslationTable</h4>
|
||
<pre>private java.util.Hashtable<java.lang.String,java.lang.String> baseTypeTranslationTable</pre>
|
||
<div class="block">Table zum Ãbersetzen der nicht implementierten Base-Types:
|
||
Ãberall im Compiler wird statt bspw. int Integer verwendet
|
||
d.h. 1+2 liefert ein Integer
|
||
Deshalb benötigen wir hier eine Tabelle, mit der man die von
|
||
der JRE gelieferten Base-Typen (int,char, etc) und die Objekt-
|
||
Typen umwandeln können</div>
|
||
</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="blockList">
|
||
<li class="blockList">
|
||
<h4>SourceFile</h4>
|
||
<pre>public SourceFile()</pre>
|
||
<div class="block">Die SourceFile repräsntiert eine zu einem Syntaxbaum eingelesene Java-Datei.
|
||
SourceFile stellt dabei den Wurzelknoten des Syntaxbaumes dar.</div>
|
||
</li>
|
||
</ul>
|
||
<a name="SourceFile-de.dhbwstuttgart.typeinference.Menge-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockListLast">
|
||
<li class="blockList">
|
||
<h4>SourceFile</h4>
|
||
<pre>public SourceFile(<a href="../../../de/dhbwstuttgart/typeinference/Menge.html" title="class in de.dhbwstuttgart.typeinference">Menge</a><<a href="../../../de/dhbwstuttgart/syntaxtree/Class.html" title="class in de.dhbwstuttgart.syntaxtree">Class</a>> classDefinitions)</pre>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
<!-- ============ METHOD DETAIL ========== -->
|
||
<ul class="blockList">
|
||
<li class="blockList"><a name="method.detail">
|
||
<!-- -->
|
||
</a>
|
||
<h3>Method Detail</h3>
|
||
<a name="addElement-de.dhbwstuttgart.core.AClassOrInterface-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>addElement</h4>
|
||
<pre>public void addElement(<a href="../../../de/dhbwstuttgart/core/AClassOrInterface.html" title="interface in de.dhbwstuttgart.core">AClassOrInterface</a> e)</pre>
|
||
<div class="block">Fuegt ein neues Element (Interface oder Klasse) hinzu.</div>
|
||
<dl>
|
||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||
<dd><code>c</code> - </dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="createPairFromClassAndSuperclass-de.dhbwstuttgart.syntaxtree.Class-de.dhbwstuttgart.syntaxtree.type.Type-de.dhbwstuttgart.typeinference.Menge-de.dhbwstuttgart.typeinference.Menge-de.dhbwstuttgart.typeinference.assumptions.TypeAssumptions-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>createPairFromClassAndSuperclass</h4>
|
||
<pre>private <a href="../../../de/dhbwstuttgart/typeinference/Pair.html" title="class in de.dhbwstuttgart.typeinference">Pair</a> createPairFromClassAndSuperclass(<a href="../../../de/dhbwstuttgart/syntaxtree/Class.html" title="class in de.dhbwstuttgart.syntaxtree">Class</a> baseClass,
|
||
<a href="../../../de/dhbwstuttgart/syntaxtree/type/Type.html" title="class in de.dhbwstuttgart.syntaxtree.type">Type</a> superclass,
|
||
<a href="../../../de/dhbwstuttgart/typeinference/Menge.html" title="class in de.dhbwstuttgart.typeinference">Menge</a> classParaOrg,
|
||
<a href="../../../de/dhbwstuttgart/typeinference/Menge.html" title="class in de.dhbwstuttgart.typeinference">Menge</a> superclassParaOrg,
|
||
<a href="../../../de/dhbwstuttgart/typeinference/assumptions/TypeAssumptions.html" title="class in de.dhbwstuttgart.typeinference.assumptions">TypeAssumptions</a> ass)</pre>
|
||
<div class="block">Erstellt ein Typ-Paar, welches im 1. Durchlauf in die Menge der Finite Closure
|
||
aufgenommen wird Input: Klassenname, Name der Superklasse, ParameterDerKlasse,
|
||
Parameter der Superklasse</div>
|
||
<dl>
|
||
<dt><span class="returnLabel">Returns:</span></dt>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="makeFC-de.dhbwstuttgart.typeinference.assumptions.TypeAssumptions-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>makeFC</h4>
|
||
<pre>public <a href="../../../de/dhbwstuttgart/typeinference/unify/FC_TTO.html" title="class in de.dhbwstuttgart.typeinference.unify">FC_TTO</a> makeFC(<a href="../../../de/dhbwstuttgart/typeinference/assumptions/TypeAssumptions.html" title="class in de.dhbwstuttgart.typeinference.assumptions">TypeAssumptions</a> ass)</pre>
|
||
<div class="block">Erstellt die Finite Closure</div>
|
||
<dl>
|
||
<dt><span class="returnLabel">Returns:</span></dt>
|
||
<dd>FC_TTO-Object, welches die Finite Closure repräsentiert</dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="getPublicFieldAssumptions--">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>getPublicFieldAssumptions</h4>
|
||
<pre>public <a href="../../../de/dhbwstuttgart/typeinference/assumptions/TypeAssumptions.html" title="class in de.dhbwstuttgart.typeinference.assumptions">TypeAssumptions</a> getPublicFieldAssumptions()</pre>
|
||
</li>
|
||
</ul>
|
||
<a name="typeReconstruction-de.dhbwstuttgart.typeinference.assumptions.TypeAssumptions-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>typeReconstruction</h4>
|
||
<pre>public <a href="../../../de/dhbwstuttgart/typeinference/Menge.html" title="class in de.dhbwstuttgart.typeinference">Menge</a><<a href="../../../de/dhbwstuttgart/typeinference/TypeinferenceResultSet.html" title="class in de.dhbwstuttgart.typeinference">TypeinferenceResultSet</a>> typeReconstruction(<a href="../../../de/dhbwstuttgart/typeinference/assumptions/TypeAssumptions.html" title="class in de.dhbwstuttgart.typeinference.assumptions">TypeAssumptions</a> globalAssumptions)
|
||
throws <a href="../../../de/dhbwstuttgart/myexception/CTypeReconstructionException.html" title="class in de.dhbwstuttgart.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="returnLabel">Returns:</span></dt>
|
||
<dd>Liste aller m�glichen Typkombinationen</dd>
|
||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||
<dd><code><a href="../../../de/dhbwstuttgart/myexception/CTypeReconstructionException.html" title="class in de.dhbwstuttgart.myexception">CTypeReconstructionException</a></code> - Wenn was schief l�uft</dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="makeBasicAssumptionsFromJRE-de.dhbwstuttgart.typeinference.Menge-boolean-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>makeBasicAssumptionsFromJRE</h4>
|
||
<pre>private <a href="../../../de/dhbwstuttgart/typeinference/assumptions/TypeAssumptions.html" title="class in de.dhbwstuttgart.typeinference.assumptions">TypeAssumptions</a> makeBasicAssumptionsFromJRE(<a href="../../../de/dhbwstuttgart/typeinference/Menge.html" title="class in de.dhbwstuttgart.typeinference">Menge</a><<a href="../../../de/dhbwstuttgart/syntaxtree/misc/UsedId.html" title="class in de.dhbwstuttgart.syntaxtree.misc">UsedId</a>> imports,
|
||
boolean withSubtypes)</pre>
|
||
<div class="block">Erstellt die Assumptions der standardmäÃig importierten Packages (java.lang.) sowie der von imports übergebenen Klassen zusammen.</div>
|
||
<dl>
|
||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||
<dd><code>imports</code> - </dd>
|
||
<dd><code>withSuptypes</code> - - Gibt an, ob auch die subklassen der Packages den Assumptions angefügt werden sollen.</dd>
|
||
<dt><span class="returnLabel">Returns:</span></dt>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="getSuperClassOfJREClass-java.lang.Class-de.dhbwstuttgart.typeinference.assumptions.TypeAssumptions-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>getSuperClassOfJREClass</h4>
|
||
<pre>private <a href="../../../de/dhbwstuttgart/syntaxtree/Class.html" title="class in de.dhbwstuttgart.syntaxtree">Class</a> getSuperClassOfJREClass(java.lang.Class<?> x,
|
||
<a href="../../../de/dhbwstuttgart/typeinference/assumptions/TypeAssumptions.html" title="class in de.dhbwstuttgart.typeinference.assumptions">TypeAssumptions</a> ass)</pre>
|
||
</li>
|
||
</ul>
|
||
<a name="isBaseType-java.lang.String-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>isBaseType</h4>
|
||
<pre>private boolean isBaseType(java.lang.String type)</pre>
|
||
</li>
|
||
</ul>
|
||
<a name="containsString-de.dhbwstuttgart.typeinference.Menge-java.lang.String-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>containsString</h4>
|
||
<pre>private boolean containsString(<a href="../../../de/dhbwstuttgart/typeinference/Menge.html" title="class in de.dhbwstuttgart.typeinference">Menge</a><<a href="../../../de/dhbwstuttgart/syntaxtree/misc/UsedId.html" title="class in de.dhbwstuttgart.syntaxtree.misc">UsedId</a>> searchMenge,
|
||
java.lang.String searchString)</pre>
|
||
</li>
|
||
</ul>
|
||
<a name="createTypeFromJavaGenericType-java.lang.reflect.Type-java.lang.Class-java.util.Hashtable-de.dhbwstuttgart.syntaxtree.Class-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>createTypeFromJavaGenericType</h4>
|
||
<pre>private <a href="../../../de/dhbwstuttgart/syntaxtree/type/Type.html" title="class in de.dhbwstuttgart.syntaxtree.type">Type</a> createTypeFromJavaGenericType(java.lang.reflect.Type type,
|
||
java.lang.Class<?> cl,
|
||
java.util.Hashtable<java.lang.String,<a href="../../../de/dhbwstuttgart/syntaxtree/type/GenericTypeVar.html" title="class in de.dhbwstuttgart.syntaxtree.type">GenericTypeVar</a>> jreSpiderRegistry,
|
||
<a href="../../../de/dhbwstuttgart/syntaxtree/Class.html" title="class in de.dhbwstuttgart.syntaxtree">Class</a> parentClass)</pre>
|
||
</li>
|
||
</ul>
|
||
<a name="makeBasicAssumptions--">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>makeBasicAssumptions</h4>
|
||
<pre>private <a href="../../../de/dhbwstuttgart/typeinference/assumptions/TypeAssumptions.html" title="class in de.dhbwstuttgart.typeinference.assumptions">TypeAssumptions</a> makeBasicAssumptions()</pre>
|
||
<div class="block">Erzeugt die Anfangsinformationen �ber bereits bekannte Klassen.
|
||
<br/>Achtung Workaround: Die RefTypes m�ssen sp�ter noch durch BaseTypes
|
||
ersetzt werden. <br>
|
||
Author: J�rg B�uerle</div>
|
||
<dl>
|
||
<dt><span class="returnLabel">Returns:</span></dt>
|
||
<dd>A priori Typinformationen</dd>
|
||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||
<dd><code>java.lang.ClassNotFoundException</code></dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="setImports-de.dhbwstuttgart.syntaxtree.ImportDeclarations-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>setImports</h4>
|
||
<pre>private void setImports(<a href="../../../de/dhbwstuttgart/syntaxtree/ImportDeclarations.html" title="class in de.dhbwstuttgart.syntaxtree">ImportDeclarations</a> newImports)</pre>
|
||
</li>
|
||
</ul>
|
||
<a name="removeBasicAssumptions--">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>removeBasicAssumptions</h4>
|
||
<pre>private void removeBasicAssumptions()</pre>
|
||
<div class="block">L�scht die Anfangsinformation wieder aus dem Klassenvektor
|
||
<br/>Author: J�rg B�uerle</div>
|
||
</li>
|
||
</ul>
|
||
<a name="getPackageName--">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>getPackageName</h4>
|
||
<pre>public <a href="../../../de/dhbwstuttgart/syntaxtree/misc/UsedId.html" title="class in de.dhbwstuttgart.syntaxtree.misc">UsedId</a> getPackageName()</pre>
|
||
<div class="block">Erzeugt f�r jede Klasse einen Menge, in den Referenzen auf die GenericTypeVars
|
||
dieser Klasse gespeichert werden. Diese Mengeen 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="paramLabel">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());
|
||
Menge<GenericTypeVar> genericsList = new Menge<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-de.dhbwstuttgart.syntaxtree.misc.UsedId-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>setPackageName</h4>
|
||
<pre>public void setPackageName(<a href="../../../de/dhbwstuttgart/syntaxtree/misc/UsedId.html" title="class in de.dhbwstuttgart.syntaxtree.misc">UsedId</a> pkgName)</pre>
|
||
</li>
|
||
</ul>
|
||
<a name="addImports-de.dhbwstuttgart.syntaxtree.ImportDeclarations-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>addImports</h4>
|
||
<pre>public void addImports(<a href="../../../de/dhbwstuttgart/syntaxtree/ImportDeclarations.html" title="class in de.dhbwstuttgart.syntaxtree">ImportDeclarations</a> imports)</pre>
|
||
</li>
|
||
</ul>
|
||
<a name="getImports--">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>getImports</h4>
|
||
<pre>public <a href="../../../de/dhbwstuttgart/syntaxtree/ImportDeclarations.html" title="class in de.dhbwstuttgart.syntaxtree">ImportDeclarations</a> getImports()</pre>
|
||
</li>
|
||
</ul>
|
||
<a name="getClassIterator--">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>getClassIterator</h4>
|
||
<pre>public java.util.Iterator<<a href="../../../de/dhbwstuttgart/syntaxtree/Class.html" title="class in de.dhbwstuttgart.syntaxtree">Class</a>> getClassIterator()</pre>
|
||
</li>
|
||
</ul>
|
||
<a name="getInterfaceIterator--">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>getInterfaceIterator</h4>
|
||
<pre>public java.util.Iterator<<a href="../../../de/dhbwstuttgart/syntaxtree/Interface.html" title="class in de.dhbwstuttgart.syntaxtree">Interface</a>> getInterfaceIterator()</pre>
|
||
</li>
|
||
</ul>
|
||
<a name="parserPostProcessing-de.dhbwstuttgart.syntaxtree.SyntaxTreeNode-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>parserPostProcessing</h4>
|
||
<pre>public void parserPostProcessing(<a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html" title="class in de.dhbwstuttgart.syntaxtree">SyntaxTreeNode</a> parent)</pre>
|
||
<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html#parserPostProcessing-de.dhbwstuttgart.syntaxtree.SyntaxTreeNode-">SyntaxTreeNode</a></code></span></div>
|
||
<div class="block">Wird nach dem Parsen aufgerufen.
|
||
Erfüllt folgenden Aufgaben:
|
||
1. Füllt fehlende Typangaben mit TPHs auf.
|
||
2. Verknüpft die Knoten des Syntaxbaums. (setzt Parent)
|
||
3. Wechselt RefTypes gegebenenfalls mit GenericTypeVars aus.
|
||
4. Führt einen Teil des Syntaxckecks durch.</div>
|
||
<dl>
|
||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||
<dd><code><a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html#parserPostProcessing-de.dhbwstuttgart.syntaxtree.SyntaxTreeNode-">parserPostProcessing</a></code> in class <code><a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html" title="class in de.dhbwstuttgart.syntaxtree">SyntaxTreeNode</a></code></dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="getParent--">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>getParent</h4>
|
||
<pre>public <a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html" title="class in de.dhbwstuttgart.syntaxtree">SyntaxTreeNode</a> getParent()</pre>
|
||
<dl>
|
||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||
<dd><code><a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html#getParent--">getParent</a></code> in class <code><a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html" title="class in de.dhbwstuttgart.syntaxtree">SyntaxTreeNode</a></code></dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="getChildren--">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>getChildren</h4>
|
||
<pre>public <a href="../../../de/dhbwstuttgart/typeinference/Menge.html" title="class in de.dhbwstuttgart.typeinference">Menge</a><<a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html" title="class in de.dhbwstuttgart.syntaxtree">SyntaxTreeNode</a>> getChildren()</pre>
|
||
<dl>
|
||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||
<dd><code><a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html#getChildren--">getChildren</a></code> in class <code><a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html" title="class in de.dhbwstuttgart.syntaxtree">SyntaxTreeNode</a></code></dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="setFileName-java.lang.String-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>setFileName</h4>
|
||
<pre>@Deprecated
|
||
public void setFileName(java.lang.String filename)</pre>
|
||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||
<div class="block">SourceFile stellt eine geparste Java-Datei dar. Mit dieser Methode wird der Name der eingelesenen Datei gesetzt.</div>
|
||
<dl>
|
||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||
<dd><code>filename</code> - - Der Name der eingelesenen JavaDatei</dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="getOffset--">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>getOffset</h4>
|
||
<pre>public int getOffset()</pre>
|
||
</li>
|
||
</ul>
|
||
<a name="getVariableLength--">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockListLast">
|
||
<li class="blockList">
|
||
<h4>getVariableLength</h4>
|
||
<pre>public int getVariableLength()</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>
|
||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||
<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="../../../de/dhbwstuttgart/syntaxtree/ParameterList.html" title="class in de.dhbwstuttgart.syntaxtree"><span class="typeNameLink">Prev Class</span></a></li>
|
||
<li><a href="../../../de/dhbwstuttgart/syntaxtree/SyntaxTreeNode.html" title="class in de.dhbwstuttgart.syntaxtree"><span class="typeNameLink">Next Class</span></a></li>
|
||
</ul>
|
||
<ul class="navList">
|
||
<li><a href="../../../index.html?de/dhbwstuttgart/syntaxtree/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: </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>
|