Commit Graph

  • 53bbf3c511 Merge bigRefactoring JanUlrich 2021-05-25 15:45:23 +0200
  • 48964d57ad 2 new file: README_aktuelle_Branches modified: src/main/java/de/dhbwstuttgart/syntaxtree/type/GenericRefType.java modified: src/main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java bytecodeGenericsSecond pl@gohorb.ba-horb.de 2021-05-25 15:32:11 +0200
  • 41492e53ca Modify Testcase for Unresolved Constraint Exception JanUlrich 2021-05-21 10:24:43 +0200
  • 18d9edfeea modified: src/main/java/de/dhbwstuttgart/bytecode/genericsGenerator/GeneratedGenericsFinder.java new file: src/test/java/insertGenerics/TestVectorArg.java modified: src/test/resources/bytecode/javFiles/Fac.jav new file: src/test/resources/insertGenericsJav/TestVectorArg.jav pl@gohorb.ba-horb.de 2021-05-21 09:52:22 +0200
  • 74b9b024ee Reformat Till Schnell 2021-05-20 11:58:07 +0200
  • 97483714e7 Add example for lib function Till Schnell 2021-05-20 11:46:50 +0200
  • a7b9c2a4ee Add generate BC Code Test Till Schnell 2021-05-10 18:10:19 +0200
  • fd7628cb40 Simplify generateConstraints Till Schnell 2021-05-10 18:02:23 +0200
  • 76a291ab41 Fixed a Bug for a null Pointer Exception Till Schnell 2021-05-01 14:38:44 +0200
  • c5c8ffeed1 Correct gernation of oder constraints Till Schnell 2021-04-27 17:54:31 +0200
  • ba9335e2f6 Correct matcher Till Schnell 2021-04-27 17:54:10 +0200
  • c098a0a1b0 extract duplicate code to a separate method Till Schnell 2021-04-25 11:34:25 +0200
  • cfce2f55ac Add generation of wildcard constraints for generic types in source Till Schnell 2021-04-25 11:23:12 +0200
  • 4009a28333 add expected type infer results. Enables gernation of bytecode Till Schnell 2021-04-24 14:14:19 +0200
  • 1b9e824b86 modified: src/main/java/de/dhbwstuttgart/bytecode/genericsGenerator/GeneratedGenericsFinder.java modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java pl@gohorb.ba-horb.de 2021-04-19 16:18:31 +0200
  • b40cb49b9f In PairTPHsmallerTPH origPair eingefuegt, was das OriginalPair darstellt, entweder vor oder waehrend der Unikation pl@gohorb.ba-horb.de 2021-04-19 14:22:40 +0200
  • f3dc0cbeb7 Add diamond expression Till Schnell 2021-04-16 19:34:49 +0200
  • cd2f030ac6 remove unused testcase Till Schnell 2021-04-14 10:50:01 +0200
  • f548548788 Add test case for param types Till Schnell 2021-04-14 10:48:40 +0200
  • 5cf41101bf Only replace refType occurs in MethodReturn, Parameter, Field and Local Var Till Schnell 2021-04-14 10:18:56 +0200
  • e139f8c867 Add Test for Void Till Schnell 2021-04-14 10:18:15 +0200
  • 5a151a965c Add new test classes Till Schnell 2021-04-13 11:57:10 +0200
  • be9ee49878 modified: src/main/java/de/dhbwstuttgart/bytecode/TPHExtractor.java modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java modified: src/main/java/de/dhbwstuttgart/parser/SyntaxTreeGenerator/StatementGenerator.java modified: src/main/java/de/dhbwstuttgart/syntaxtree/statement/MethodCall.java modified: src/main/java/de/dhbwstuttgart/syntaxtree/statement/Statement.java modified: src/main/java/de/dhbwstuttgart/typeinference/constraints/Constraint.java modified: src/main/java/de/dhbwstuttgart/typeinference/typeAlgo/TYPEStmt.java modified: src/test/java/insertGenerics/TestLocalVarLambda.java pl@gohorb.ba-horb.de 2021-04-13 10:03:48 +0200
  • e5f03369cc Test via assert of amount of generated constraints Till Schnell 2021-04-13 09:14:17 +0200
  • f698c967c0 Delete outdated test class Till Schnell 2021-04-10 11:24:02 +0200
  • 1509e21214 Add Test for MapNested Till Schnell 2021-04-10 11:23:34 +0200
  • 50c05064c7 Add Test for map Till Schnell 2021-04-10 11:22:38 +0200
  • 6458a06293 Add Test for nested Till Schnell 2021-04-10 11:21:49 +0200
  • a984e455e4 Add Test for single Till Schnell 2021-04-10 11:20:36 +0200
  • 19c9f648a8 Add Testclass for fields Till Schnell 2021-04-10 11:19:15 +0200
  • 077bd62b92 Introduce ? extends to the map of TPH. This should prevent an editing Till Schnell 2021-04-10 11:09:16 +0200
  • de62df00e0 correct test oputput Till Schnell 2021-04-10 10:42:58 +0200
  • 78e3b76dc3 make test functions static Till Schnell 2021-04-10 10:42:28 +0200
  • c627f9de60 Split the single testcase to two Till Schnell 2021-04-10 10:40:58 +0200
  • ff92807b83 Add JavaDoc Till Schnell 2021-04-10 10:33:46 +0200
  • 1043b3f55f remove a test Till Schnell 2021-04-09 20:31:40 +0200
  • 88440b873a extract generation and merge to a static utility function Till Schnell 2021-04-09 20:25:10 +0200
  • 4ca0e1e5f6 Add a child class of the compiler to implement the wildcard infer algorithm Till Schnell 2021-04-09 20:13:15 +0200
  • cb28405fe1 made foreach over map not entry set Till Schnell 2021-04-09 20:04:58 +0200
  • 3363037854 modified: src/main/java/de/dhbwstuttgart/bytecode/TPHExtractor.java modified: src/main/java/de/dhbwstuttgart/bytecode/genericsGenerator/GeneratedGenericsFinder.java modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java modified: src/main/java/de/dhbwstuttgart/bytecode/utilities/MethodAndTPH.java Neue Methode addTph pl@gohorb.ba-horb.de 2021-04-09 09:15:10 +0200
  • c7f91724a6 remove rawtypes Till Schnell 2021-04-08 18:54:16 +0200
  • 11b63e0a5d remove raw types and add java doc Till Schnell 2021-04-08 18:52:33 +0200
  • 5f7829191c Improve log of test Till Schnell 2021-04-08 18:45:14 +0200
  • 044d9a1860 improve log of replacement of tph Till Schnell 2021-04-08 18:37:42 +0200
  • 6fcbca1187 remove useless imports Till Schnell 2021-04-08 18:31:14 +0200
  • 572f41ffd4 Add tests for different classes Till Schnell 2021-04-08 18:31:02 +0200
  • e0f7f95bed remove unused test rsrc Till Schnell 2021-04-08 18:17:02 +0200
  • 78c365a7be Add testclass for single wildcard test Till Schnell 2021-04-08 18:16:52 +0200
  • bea072689b Fix bug in test class Till Schnell 2021-04-08 18:08:54 +0200
  • 81697eee64 Add iteration and replacement of nested type parameters Till Schnell 2021-04-08 18:08:38 +0200
  • c474abd2bd add test for nested types Till Schnell 2021-04-08 18:01:52 +0200
  • 6dd02a654b Add JavaDoc Till Schnell 2021-04-08 17:57:41 +0200
  • e5d5376ce9 remove test case of the old approche Till Schnell 2021-04-08 11:30:49 +0200
  • 0cdeee9e0d add combination of constraints Till Schnell 2021-04-08 11:30:07 +0200
  • c8d4301e5e modified: src/main/java/de/dhbwstuttgart/bytecode/genericsGenerator/GeneratedGenericsFinder.java Alis Ansatz zur Bytecodeerzeugung eingesetzt pl@gohorb.ba-horb.de 2021-04-08 09:56:49 +0200
  • 98b3ad1517 add replacement of param types with tph and generate consolidated constraints Till Schnell 2021-04-06 18:44:30 +0200
  • b59aabeea5 generate the constraints for all tph Till Schnell 2021-04-06 18:38:01 +0200
  • 26953665c9 search for all generics in ast Till Schnell 2021-04-06 18:26:10 +0200
  • 465f82e967 Add generation of constraints for ref type Till Schnell 2021-04-06 18:25:04 +0200
  • ce8b19acae Remove visitors for the Oracle AST approche Till Schnell 2021-04-06 18:24:47 +0200
  • 7dfe546999 return the source files Till Schnell 2021-04-06 18:24:05 +0200
  • c96c56e882 add comments Till Schnell 2021-04-06 17:23:04 +0200
  • 3e57a64f9c add comment Till Schnell 2021-04-06 17:22:27 +0200
  • e8539a84fd Add array constructor Till Schnell 2021-04-04 15:40:16 +0200
  • 0551d25fbf Add test for JavaTX constraints generation Till Schnell 2021-04-04 15:39:57 +0200
  • b46415e45a modified: src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java reset Typevars-Namen wieder rausgenommen pl@gohorb.ba-horb.de 2021-04-01 19:16:57 +0200
  • bbfd8aa203 modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java pl@gohorb.ba-horb.de 2021-04-01 17:13:06 +0200
  • 0cb1f244bc modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java Tests insertGenerics funtionieren modified: src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java modified: src/main/java/de/dhbwstuttgart/syntaxtree/factory/NameGenerator.java reset-Funktion eingefuegt, damit bei jedem Test die Namen der TypepLaceholdert von vorne beginnen pl@gohorb.ba-horb.de 2021-04-01 16:59:14 +0200
  • 9be64e4905 modified: src/main/java/de/dhbwstuttgart/bytecode/constraint/TPHConstraint.java modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java modified: src/main/java/de/dhbwstuttgart/bytecode/utilities/MethodAndTPH.java modified: src/test/java/insertGenerics/TestContraVariant.java modified: src/test/java/insertGenerics/TestLocalVarLambda.java modified: src/test/java/insertGenerics/TestTransitiveClosure.java Transitiv Closure auf new umgestellt pl@gohorb.ba-horb.de 2021-03-31 18:18:16 +0200
  • d1ad6e218a modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java modified: src/test/java/insertGenerics/TestTwoArgs.java pl@gohorb.ba-horb.de 2021-03-29 10:45:21 +0200
  • bf8d4fe647 new file: src/test/resources/insertGenericsJav/TestContraVariant.jav new file: src/test/resources/insertGenericsJav/TestMutualRecursionWithField2.jav new file: src/test/resources/insertGenericsJav/TestMutualRecursionWithField3.jav pl@gohorb.ba-horb.de 2021-03-29 10:00:04 +0200
  • e229093017 new file: src/test/java/insertGenerics/TestContraVariant.java modified: src/test/java/insertGenerics/TestTPHsAndGenerics.java new file: src/test/java/insertGenerics/TestThreeArgs.java pl@gohorb.ba-horb.de 2021-03-29 09:57:45 +0200
  • cbe2d7b0f5 extract test of unit Till Schnell 2021-03-27 18:06:28 +0100
  • 59b45b5f87 Add test method Till Schnell 2021-03-27 18:04:28 +0100
  • ad7e7ec42b Add the placeholder mapping Till Schnell 2021-03-27 18:01:28 +0100
  • 9d2c85d686 add get of constraints Till Schnell 2021-03-27 17:40:01 +0100
  • 63b4dbcc10 correct test methods visibility Till Schnell 2021-03-27 17:39:42 +0100
  • ca816fba85 Add JavaCompiler parsing Till Schnell 2021-03-27 17:29:37 +0100
  • 66a25a56c0 Merge branch 'bytecodeGenericsSecond' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into bytecodeGenericsSecond pl@gohorb.ba-horb.de 2021-03-26 20:55:25 +0100
  • af223a4d8a modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java AluAli 2021-03-26 20:53:24 +0100
  • 14cb2c8909 Merge branch 'bytecodeGenericsSecond' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into bytecodeGenericsSecond pl@gohorb.ba-horb.de 2021-03-26 20:19:16 +0100
  • 080eb2f6f3 modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java AluAli 2021-03-26 20:18:45 +0100
  • d8876457db Merge branch 'bytecodeGenericsSecond' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into bytecodeGenericsSecond pl@gohorb.ba-horb.de 2021-03-26 20:07:48 +0100
  • 32e9ce92a6 modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java modified: src/test/java/insertGenerics/TestTwoArgs.java AluAli 2021-03-26 19:58:38 +0100
  • 3ad9007336 Merge branch 'bytecodeGenericsSecond' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into bytecodeGenericsSecond pl@gohorb.ba-horb.de 2021-03-26 19:27:33 +0100
  • da2a17c794 modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java modified: src/test/java/insertGenerics/TestTPHsAndGenerics.java AluAli 2021-03-26 18:33:36 +0100
  • 345b03b775 modified: src/test/java/insertGenerics/TestTPHsAndGenerics.java pl@gohorb.ba-horb.de 2021-03-26 17:27:27 +0100
  • ff93b0967e 2 modified: src/test/java/insertGenerics/TestTPHsAndGenerics.java pl@gohorb.ba-horb.de 2021-03-26 16:27:24 +0100
  • db149eb588 modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java klein Korrekturen pl@gohorb.ba-horb.de 2021-03-26 16:15:18 +0100
  • f5f639c0f7 modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java AluAli 2021-03-26 15:24:15 +0100
  • a4c38b2bb0 Merge branch 'bytecodeGenericsSecond' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into bytecodeGenericsSecond AluAli 2021-03-26 12:30:13 +0100
  • e3625cb306 modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java modified: src/test/java/insertGenerics/TestTwoCalls.java AluAli 2021-03-26 12:29:40 +0100
  • 86603ae343 modified: src/main/java/de/dhbwstuttgart/bytecode/constraint/TPHConstraint.java equals korrigiert pl@gohorb.ba-horb.de 2021-03-26 10:51:59 +0100
  • d276c7c044 modified: src/main/java/de/dhbwstuttgart/bytecode/constraint/TPHConstraint.java modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/ClassConstraint.java modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java toString wieder korrigiert pl@gohorb.ba-horb.de 2021-03-25 19:55:16 +0100
  • 91c075829b Merge branch 'generateTestConstraints' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into bytecodeGenericsSecond pl@gohorb.ba-horb.de 2021-03-25 18:59:34 +0100
  • 705d0b6a73 renamed: src/test/java/insertGenerics/AllTests.java -> src/test/java/insertGenerics/TestMutualRecursion.java modified: src/test/java/insertGenerics/TestTPHsAndGenerics.java modified: src/test/java/insertGenerics/TestVector.java Tests angepasst an die GeneratedGenerics generateTestConstraints pl@gohorb.ba-horb.de 2021-03-25 18:56:38 +0100
  • bc378f2fe9 modified: src/test/java/insertGenerics/AllTests.java modified: src/test/java/insertGenerics/TestTwoCalls.java modified: src/test/java/insertGenerics/TestVector.java pl@gohorb.ba-horb.de 2021-03-25 00:41:03 +0100
  • e5816bac22 modified: src/test/java/insertGenerics/TestAny.java modified: src/test/java/insertGenerics/TestGGFinder.java modified: src/test/java/insertGenerics/TestLocalVarLambda.java modified: src/test/java/insertGenerics/TestTPHsAndGenerics.java modified: src/test/java/insertGenerics/TestTwoArgs.java modified: src/test/java/insertGenerics/TestTwoArgs2.java Tests fuer GeneratedGenerics eingefuegt pl@gohorb.ba-horb.de 2021-03-24 11:35:15 +0100
  • 8c6027645f modified: src/test/java/insertGenerics/TestLocalVarLambda.java Alternative Typvarnamen eingefuegt. pl@gohorb.ba-horb.de 2021-03-24 10:22:57 +0100
  • e147a8ce85 toString geaendert, um Tests generieren zu koennen: modified: src/main/java/de/dhbwstuttgart/bytecode/constraint/TPHConstraint.java modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/ClassConstraint.java modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/FamilyOfGeneratedGenerics.java modified: src/main/java/de/dhbwstuttgart/bytecode/insertGenerics/MethodConstraint.java pl@gohorb.ba-horb.de 2021-03-23 12:02:58 +0100