@abaplint/core 2.113.13 → 2.113.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3502,6 +3502,7 @@ declare interface InfoMethodDefinition {
3502
3502
  isEventHandler: boolean;
3503
3503
  isForTesting: boolean;
3504
3504
  isAbstract: boolean;
3505
+ isFinal: boolean;
3505
3506
  visibility: Visibility;
3506
3507
  parameters: InfoMethodParameter[];
3507
3508
  exceptions: string[];
@@ -305,6 +305,7 @@ class ABAPFileInformation {
305
305
  identifier: new _identifier_1.Identifier(methodName, this.filename),
306
306
  isRedefinition: def.findDirectExpression(Expressions.Redefinition) !== undefined,
307
307
  isForTesting: def.concatTokens().toUpperCase().includes(" FOR TESTING"),
308
+ isFinal: def.concatTokens().toUpperCase().includes(" FINAL"),
308
309
  isAbstract: def.findDirectExpression(Expressions.Abstract) !== undefined,
309
310
  isEventHandler: def.findDirectExpression(Expressions.EventHandler) !== undefined,
310
311
  visibility,
@@ -67,7 +67,7 @@ class Registry {
67
67
  }
68
68
  static abaplintVersion() {
69
69
  // magic, see build script "version.sh"
70
- return "2.113.13";
70
+ return "2.113.14";
71
71
  }
72
72
  getDDICReferences() {
73
73
  return this.ddicReferences;
@@ -157,6 +157,7 @@ Skips:
157
157
  }
158
158
  let fix = undefined;
159
159
  if (i.visibility === visibility_1.Visibility.Private
160
+ || i.isFinal === true
160
161
  || (i.visibility === visibility_1.Visibility.Protected && this.hasSubClass(obj) === false)) {
161
162
  const implementation = this.findMethodImplementation(i, file);
162
163
  if (implementation !== undefined) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.113.13",
3
+ "version": "2.113.14",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",