Compare commits
5 Commits
strucTypes
...
martin
Author | SHA1 | Date | |
---|---|---|---|
|
9dd6c1610a | ||
|
66bbf9d52d | ||
|
8bff427c5c | ||
|
bd1cfe4e7a | ||
|
05e4968adb |
22
.classpath
Normal file
22
.classpath
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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="lib" path="lib/guava-10.0.1.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/guava-15.0.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"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
10
.gitignore
vendored
10
.gitignore
vendored
@@ -10,13 +10,3 @@ bin
|
||||
*.jar
|
||||
*.war
|
||||
*.ear
|
||||
|
||||
# IDEs
|
||||
.classpath
|
||||
*.iml
|
||||
.idea/
|
||||
/target/
|
||||
.DS_Store
|
||||
.project
|
||||
.settings/
|
||||
/target/
|
||||
|
17
.project
Normal file
17
.project
Normal 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>
|
12
.settings/org.eclipse.jdt.core.prefs
Normal file
12
.settings/org.eclipse.jdt.core.prefs
Normal 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
|
@@ -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
0
doc/Javadoc/allclasses-frame.html
Normal file → Executable file
0
doc/Javadoc/allclasses-noframe.html
Normal file → Executable file
0
doc/Javadoc/allclasses-noframe.html
Normal file → Executable file
0
doc/Javadoc/constant-values.html
Normal file → Executable file
0
doc/Javadoc/constant-values.html
Normal file → Executable file
0
doc/Javadoc/deprecated-list.html
Normal file → Executable file
0
doc/Javadoc/deprecated-list.html
Normal file → Executable file
0
doc/Javadoc/help-doc.html
Normal file → Executable file
0
doc/Javadoc/help-doc.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-1.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-1.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-10.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-10.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-11.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-11.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-12.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-12.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-13.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-13.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-14.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-14.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-15.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-15.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-16.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-16.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-17.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-17.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-18.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-18.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-19.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-19.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-2.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-2.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-20.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-20.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-21.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-21.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-22.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-22.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-23.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-23.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-24.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-24.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-3.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-3.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-4.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-4.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-5.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-5.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-6.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-6.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-7.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-7.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-8.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-8.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-9.html
Normal file → Executable file
0
doc/Javadoc/index-files/index-9.html
Normal file → Executable file
0
doc/Javadoc/index.html
Normal file → Executable file
0
doc/Javadoc/index.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/MyCompiler.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/MyCompiler.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/MyCompilerAPI.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/MyCompilerAPI.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/SourceFile.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/SourceFile.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/class-use/MyCompiler.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/class-use/MyCompiler.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/class-use/MyCompilerAPI.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/class-use/MyCompilerAPI.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/class-use/SourceFile.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/class-use/SourceFile.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/Attribute.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/Attribute.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/AttributeInfo.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/AttributeInfo.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CONSTANT_Class_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CONSTANT_Class_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CONSTANT_Double_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CONSTANT_Double_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CONSTANT_Fieldref_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CONSTANT_Fieldref_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CONSTANT_Float_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CONSTANT_Float_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CONSTANT_Integer_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CONSTANT_Integer_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CONSTANT_InterfaceMethodref_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CONSTANT_InterfaceMethodref_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CONSTANT_Long_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CONSTANT_Long_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CONSTANT_Methodref_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CONSTANT_Methodref_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CONSTANT_NameAndType_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CONSTANT_NameAndType_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CONSTANT_String_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CONSTANT_String_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CONSTANT_Utf8_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CONSTANT_Utf8_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CPInfo.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CPInfo.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/ClassFile.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/ClassFile.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CodeAttribute.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/CodeAttribute.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/ExceptionTable.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/ExceptionTable.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/FieldInfo.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/FieldInfo.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/JVMCode.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/JVMCode.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/Key.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/Key.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/MethodInfo.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/MethodInfo.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/Attribute.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/Attribute.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/AttributeInfo.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/AttributeInfo.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CONSTANT_Class_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CONSTANT_Class_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CONSTANT_Double_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CONSTANT_Double_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CONSTANT_Fieldref_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CONSTANT_Fieldref_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CONSTANT_Float_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CONSTANT_Float_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CONSTANT_Integer_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CONSTANT_Integer_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CONSTANT_InterfaceMethodref_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CONSTANT_InterfaceMethodref_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CONSTANT_Long_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CONSTANT_Long_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CONSTANT_Methodref_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CONSTANT_Methodref_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CONSTANT_NameAndType_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CONSTANT_NameAndType_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CONSTANT_String_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CONSTANT_String_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CONSTANT_Utf8_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CONSTANT_Utf8_info.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CPInfo.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CPInfo.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/ClassFile.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/ClassFile.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CodeAttribute.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/CodeAttribute.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/ExceptionTable.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/ExceptionTable.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/FieldInfo.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/FieldInfo.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/JVMCode.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/JVMCode.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/Key.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/Key.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/MethodInfo.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/class-use/MethodInfo.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/package-frame.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/package-frame.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/package-summary.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/package-summary.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/package-tree.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/package-tree.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/package-use.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/mybytecode/package-use.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/Class.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/Class.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/ClassBody.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/ClassBody.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/ClassDeclId.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/ClassDeclId.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/Constructor.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/Constructor.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/DeclId.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/DeclId.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/ExceptionList.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/ExceptionList.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/FieldDecl.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/FieldDecl.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/FormalParameter.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/FormalParameter.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/InstVarDecl.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/InstVarDecl.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/Method.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/Method.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/ParameterList.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/ParameterList.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/Status.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/Status.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/UsedId.html
Normal file → Executable file
0
doc/Javadoc/mycompiler/myclass/UsedId.html
Normal file → Executable file
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user