Compare commits

..

9 Commits

Author SHA1 Message Date
FelixKrespach
998c146f4b Final 2017-10-02 17:11:55 +02:00
FelixKrespach
88c78342d5 Final 2017-10-01 09:58:56 +02:00
FelixKrespach
86b2118770 Refactoring 2017-09-25 08:24:08 +02:00
FelixKrespach
03080c43cb Refactoring 2017-09-25 08:17:36 +02:00
FelixKrespach
df1c19e60d Tests added 2017-09-23 18:33:48 +02:00
FelixKrespach
07303ffa71 Implemented Continue, Catches, Break visit ... 2017-09-22 18:19:34 +02:00
FelixKrespach
881830235a Break Class + Test 2017-09-22 14:49:43 +02:00
FelixKrespach
b88b9e2534 methods in statementgenerator implemented
Tests + visit
2017-09-21 22:36:13 +02:00
FelixKrespach
8e1c1765ff Many methods in statementgenerator implemented 2017-09-20 17:36:16 +02:00
1092 changed files with 20260 additions and 7880 deletions

21
.classpath Normal file
View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="test"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="lib" path="lib/bcel-6.1-SNAPSHOT.jar" sourcepath="lib/bcel-6.1-SNAPSHOT-sources.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="lib" path="lib/antlr-complete.jar"/>
<classpathentry kind="lib" path="lib/annotations-2.0.1.jar"/>
<classpathentry kind="lib" path="lib/bcel-6.1-SNAPSHOT-sources.jar"/>
<classpathentry kind="lib" path="lib/cloning.jar"/>
<classpathentry kind="lib" path="lib/commons-bcel6-6.0-SNAPSHOT.jar"/>
<classpathentry kind="lib" path="lib/javassist-3.19.0-GA.jar"/>
<classpathentry kind="lib" path="lib/junit-4.0.jar"/>
<classpathentry kind="lib" path="lib/log4j-1.2.12.jar"/>
<classpathentry kind="lib" path="lib/reflections-0.9.10-javadoc.jar"/>
<classpathentry kind="lib" path="lib/reflections-0.9.10-sources.jar"/>
<classpathentry kind="lib" path="lib/reflections-0.9.10.jar" sourcepath="/reflections/src"/>
<classpathentry kind="lib" path="lib/guava-22.0.jar" sourcepath="lib/guava-22.0-sources.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>

10
.gitignore vendored
View File

@@ -10,13 +10,3 @@ bin
*.jar
*.war
*.ear
# IDEs
.classpath
*.iml
.idea/
/target/
.DS_Store
.project
.settings/
/target/

22
.idea/libraries/lib.xml generated Normal file
View File

@@ -0,0 +1,22 @@
<component name="libraryTable">
<library name="lib">
<CLASSES>
<root url="jar://$PROJECT_DIR$/lib/log4j-1.2.12.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/guava-10.0.1.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/bcel-6.1-SNAPSHOT.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/bcel-6.1-SNAPSHOT-sources.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/annotations-2.0.1.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/guava-15.0.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/junit-4.0.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/commons-bcel6-6.0-SNAPSHOT.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/reflections-0.9.10-javadoc.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/reflections-0.9.10.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/cloning.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/javassist-3.19.0-GA.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/reflections-0.9.10-sources.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/antlr-complete.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

17
.project Normal file
View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>JavaCompilerCore</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

View File

@@ -0,0 +1,12 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.8

9
classes/classes.iml Normal file
View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@@ -1,25 +0,0 @@
\documentclass{article}
\begin{document}
\section{Generics sind notwendig}
Generics können nicht ignoriert werden.
Folgender Fall ist Typisierbar:
\begin{program}
<T> T m1(T x){
return m2(x);
}
m2(x){
m1(1);
m2("Test");
return m1(x);
}
\end{program}
Beim weglassen des Generics T wäre es aber nicht mehr möglich.
Dann erhält jeder Constraint, welcher in Verbindung mit der Methode m1 steht
den selben TPH.
\end{document}

0
doc/Javadoc/allclasses-frame.html Normal file → Executable file
View File

0
doc/Javadoc/allclasses-noframe.html Normal file → Executable file
View File

0
doc/Javadoc/constant-values.html Normal file → Executable file
View File

0
doc/Javadoc/deprecated-list.html Normal file → Executable file
View File

0
doc/Javadoc/help-doc.html Normal file → Executable file
View File

0
doc/Javadoc/index-files/index-1.html Normal file → Executable file
View File

0
doc/Javadoc/index-files/index-10.html Normal file → Executable file
View File

0
doc/Javadoc/index-files/index-11.html Normal file → Executable file
View File

0
doc/Javadoc/index-files/index-12.html Normal file → Executable file
View File

0
doc/Javadoc/index-files/index-13.html Normal file → Executable file
View File

0
doc/Javadoc/index-files/index-14.html Normal file → Executable file
View File

0
doc/Javadoc/index-files/index-15.html Normal file → Executable file
View File

0
doc/Javadoc/index-files/index-16.html Normal file → Executable file
View File

0
doc/Javadoc/index-files/index-17.html Normal file → Executable file
View File

0
doc/Javadoc/index-files/index-18.html Normal file → Executable file
View File

0
doc/Javadoc/index-files/index-19.html Normal file → Executable file
View File

0
doc/Javadoc/index-files/index-2.html Normal file → Executable file
View File

0
doc/Javadoc/index-files/index-20.html Normal file → Executable file
View File

0
doc/Javadoc/index-files/index-21.html Normal file → Executable file
View File

0
doc/Javadoc/index-files/index-22.html Normal file → Executable file
View File

0
doc/Javadoc/index-files/index-23.html Normal file → Executable file
View File

0
doc/Javadoc/index-files/index-24.html Normal file → Executable file
View File

0
doc/Javadoc/index-files/index-3.html Normal file → Executable file
View File

0
doc/Javadoc/index-files/index-4.html Normal file → Executable file
View File

0
doc/Javadoc/index-files/index-5.html Normal file → Executable file
View File

0
doc/Javadoc/index-files/index-6.html Normal file → Executable file
View File

0
doc/Javadoc/index-files/index-7.html Normal file → Executable file
View File

0
doc/Javadoc/index-files/index-8.html Normal file → Executable file
View File

0
doc/Javadoc/index-files/index-9.html Normal file → Executable file
View File

0
doc/Javadoc/index.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/MyCompiler.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/MyCompilerAPI.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/SourceFile.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/class-use/MyCompiler.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/class-use/MyCompilerAPI.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/class-use/SourceFile.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/mybytecode/Attribute.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/mybytecode/AttributeInfo.html Normal file → Executable file
View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

0
doc/Javadoc/mycompiler/mybytecode/CPInfo.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/mybytecode/ClassFile.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/mybytecode/CodeAttribute.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/mybytecode/ExceptionTable.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/mybytecode/FieldInfo.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/mybytecode/JVMCode.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/mybytecode/Key.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/mybytecode/MethodInfo.html Normal file → Executable file
View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

0
doc/Javadoc/mycompiler/mybytecode/class-use/Key.html Normal file → Executable file
View File

View File

0
doc/Javadoc/mycompiler/mybytecode/package-frame.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/mybytecode/package-summary.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/mybytecode/package-tree.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/mybytecode/package-use.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/myclass/Class.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/myclass/ClassBody.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/myclass/ClassDeclId.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/myclass/Constructor.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/myclass/DeclId.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/myclass/ExceptionList.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/myclass/FieldDecl.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/myclass/FormalParameter.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/myclass/InstVarDecl.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/myclass/Method.html Normal file → Executable file
View File

0
doc/Javadoc/mycompiler/myclass/ParameterList.html Normal file → Executable file
View File

Some files were not shown because too many files have changed in this diff Show More