equal
deleted
inserted
replaced
82 JDK10("10"), |
82 JDK10("10"), |
83 |
83 |
84 /** 1.11 local-variable syntax for lambda parameters */ |
84 /** 1.11 local-variable syntax for lambda parameters */ |
85 JDK11("11"), |
85 JDK11("11"), |
86 |
86 |
87 /** 12, no language features; switch expression were in preview */ |
87 /** 12, no language features; switch expression in preview */ |
88 JDK12("12"), |
88 JDK12("12"), |
89 |
89 |
90 /** |
90 /** |
91 * 13, no language features; text blocks and revised switch |
91 * 13, no language features; text blocks and revised switch |
92 * expressions in preview |
92 * expressions in preview |
93 */ |
93 */ |
94 JDK13("13"), |
94 JDK13("13"), |
95 |
95 |
96 /** |
96 /** |
97 * 14 covers the to be determined language features that will be |
97 * 14, switch expressions |
98 * added in JDK 14. |
|
99 */ |
98 */ |
100 JDK14("14"); |
99 JDK14("14"); |
101 |
100 |
102 private static final Context.Key<Source> sourceKey = new Context.Key<>(); |
101 private static final Context.Key<Source> sourceKey = new Context.Key<>(); |
103 |
102 |