Skip to content

Commit 9029903

Browse files
committed
Java: Replace @type with more specific types
1 parent 9371737 commit 9029903

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

java/ql/lib/config/semmlecode.dbscheme

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ typeVars(
393393
string nodeName: string ref,
394394
int pos: int ref,
395395
int kind: int ref, // deprecated
396-
int parentid: @typeorcallable ref
396+
int parentid: @classorinterfaceorcallable ref
397397
);
398398

399399
wildcards(
@@ -414,7 +414,7 @@ typeBounds(
414414
typeArgs(
415415
int argumentid: @reftype ref,
416416
int pos: int ref,
417-
int parentid: @typeorcallable ref
417+
int parentid: @classorinterfaceorcallable ref
418418
);
419419

420420
isParameterized(
@@ -487,7 +487,7 @@ hasModifier(
487487

488488
imports(
489489
unique int id: @import,
490-
int holder: @typeorpackage ref,
490+
int holder: @classorinterfaceorpackage ref,
491491
string name: string ref,
492492
int kind: int ref
493493
);
@@ -857,10 +857,9 @@ javadocText(
857857
@javadocParent = @javadoc | @javadocTag;
858858
@javadocElement = @javadocTag | @javadocText;
859859

860-
@typeorpackage = @type | @package;
861-
862-
@typeorcallable = @type | @callable;
863860
@classorinterface = @interface | @class;
861+
@classorinterfaceorpackage = @classorinterface | @package;
862+
@classorinterfaceorcallable = @classorinterface | @callable;
864863
@boundedtype = @typevariable | @wildcard;
865864
@reftype = @classorinterface | @array | @boundedtype;
866865
@classorarray = @class | @array;

0 commit comments

Comments
 (0)