You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From here, independent development by the Modelling for Continuous Software Engineering (MCSE) group at the Institute of Information Security and Dependability (KASTEL) at the Karlsruher Institute of Technology (KIT) resulting in the following changes.
36
+
37
+
### Added
38
+
39
+
- Meta-model support for features of Java 7-15:
40
+
- Java 7
41
+
- Diamond in class instance creation expressions
42
+
- `try`-with-resources statements
43
+
- Multi-`catch`
44
+
- Binary integer literals
45
+
- Java 8
46
+
- Lambda expressions
47
+
- Method reference expressions
48
+
- Receiver parameters
49
+
- Default interface methods
50
+
- Further positions of annotations
51
+
- Java 9
52
+
- Modules
53
+
- Java 10/11
54
+
-`var` as local variable type
55
+
- Java 14
56
+
- Switch expressions
57
+
- Java 15
58
+
- Text blocks
59
+
- Meta-model extensions:
60
+
-`origin` field in the `JavaRoot` to represent the source (source file, class file, file from an archive, binding) of a Java model
61
+
-`Reference`s include an optional list of `TypeReference`s to store concrete types and type arguments in contexts in which the types are usually inferred
62
+
- Manual printer implementation
63
+
- Parser implementation based on Eclipse JDT which converts the AST to a model
64
+
- First variant for the reference resolution: Eclipse JDT bindings are used to directly set references
65
+
- Third variant for the reference resolution (as combination of first and second one): proxy objects which are set for references can be resolved after the parsing (based on the Eclipse JDT bindings) or on demand
66
+
67
+
### Changed
68
+
69
+
- Minimum required Java version: Java 11
70
+
- Supported Eclipse version: 2021-12
71
+
- Update to Apache Commons Byte Code Engineering Library 6.5.0
72
+
- Meta-model: `TypeReference` inherits from `ArrayTypeable` so that a type can store information about array dimensions and if it is an array
73
+
- Turned the extended reference resolution mechanism from the original version into the second variant for the reference resolution: proxy objects which are set for references are resolved on demand
74
+
- Standalone version is based on the first variant
75
+
76
+
### Removed
77
+
78
+
- Java syntax definition in CS specification language and the generated parser and printer
79
+
80
+
### Known Issues
81
+
82
+
- First variant: ends in `StackOverflowException` because of an endless loop, also affects standalone version
83
+
84
+
## Original JaMoPP Version - before 2019
85
+
86
+
Originally, developed by DevBoost GmbH and Software Technology Group, Dresden University of Technology. It consists of the development up to version [1.4.0] and the [development after 1.4.0] resulting in the following features.
87
+
88
+
- Ecore-based meta-model for the Java programming language covering the syntax up to and including Java 6
89
+
- Definition of Java syntax in CS specification language of EMFText to generate a parser (Java source code -> Java model) and printer (Java model -> Java source code)
90
+
- Loader for class files which generates Java models from class files (based on Apache Commons Byte Code Engineering Library 6.2.0)
91
+
- Extended reference resolution mechanisms of generated EMFText code to connect Java models by language-specific links
92
+
- Integration into the Eclipse IDE
93
+
- Tests for the parsing (checks if generated model contains the expected elements)
94
+
- Tests for the parsing and printing (checks if printed code is equal to parsed code by parsing both source codes with Eclipse JDT and comparing the resulting ASTs)
0 commit comments