@@ -39,7 +39,7 @@ import Type
3939 * For example, `X` in `class X<T> { }`.
4040 */
4141class GenericType extends ClassOrInterface {
42- GenericType ( ) { typeVars ( _, _, _, _ , this ) }
42+ GenericType ( ) { typeVars ( _, _, _, this ) }
4343
4444 /**
4545 * Gets a parameterization of this generic type, where each use of
@@ -64,7 +64,7 @@ class GenericType extends ClassOrInterface {
6464 /**
6565 * Gets the `i`-th type parameter of this generic type.
6666 */
67- TypeVariable getTypeParameter ( int i ) { typeVars ( result , _, i , _ , this ) }
67+ TypeVariable getTypeParameter ( int i ) { typeVars ( result , _, i , this ) }
6868
6969 /**
7070 * Gets a type parameter of this generic type.
@@ -139,10 +139,10 @@ abstract class BoundedType extends RefType, @boundedtype {
139139 */
140140class TypeVariable extends BoundedType , Modifiable , @typevariable {
141141 /** Gets the generic type that is parameterized by this type parameter, if any. */
142- GenericType getGenericType ( ) { typeVars ( this , _, _, _ , result ) }
142+ GenericType getGenericType ( ) { typeVars ( this , _, _, result ) }
143143
144144 /** Gets the generic callable that is parameterized by this type parameter, if any. */
145- GenericCallable getGenericCallable ( ) { typeVars ( this , _, _, _ , result ) }
145+ GenericCallable getGenericCallable ( ) { typeVars ( this , _, _, result ) }
146146
147147 /**
148148 * Gets an upper bound of this type parameter, or `Object`
@@ -196,7 +196,7 @@ class TypeVariable extends BoundedType, Modifiable, @typevariable {
196196 }
197197
198198 /** Gets the index of `this` type variable. */
199- int getIndex ( ) { typeVars ( this , _, result , _, _ ) }
199+ int getIndex ( ) { typeVars ( this , _, result , _) }
200200
201201 override string getAPrimaryQlClass ( ) { result = "TypeVariable" }
202202}
@@ -327,7 +327,7 @@ class TypeBound extends @typebound {
327327class ParameterizedType extends ClassOrInterface {
328328 ParameterizedType ( ) {
329329 typeArgs ( _, _, this ) or
330- typeVars ( _, _, _, _ , this )
330+ typeVars ( _, _, _, this )
331331 }
332332
333333 /**
@@ -351,27 +351,27 @@ class ParameterizedType extends ClassOrInterface {
351351 */
352352 RefType getATypeArgument ( ) {
353353 typeArgs ( result , _, this ) or
354- typeVars ( result , _, _, _ , this )
354+ typeVars ( result , _, _, this )
355355 }
356356
357357 /** Gets the type argument of this parameterized type at the specified position. */
358358 RefType getTypeArgument ( int pos ) {
359359 typeArgs ( result , pos , this ) or
360- typeVars ( result , _, pos , _ , this )
360+ typeVars ( result , _, pos , this )
361361 }
362362
363363 /** Gets the number of type arguments of this parameterized type. */
364364 int getNumberOfTypeArguments ( ) {
365365 result =
366366 count ( int pos |
367367 typeArgs ( _, pos , this ) or
368- typeVars ( _, _, pos , _ , this )
368+ typeVars ( _, _, pos , this )
369369 )
370370 }
371371
372372 /** Holds if this type originates from source code. */
373373 override predicate fromSource ( ) {
374- typeVars ( _, _, _, _ , this ) and ClassOrInterface .super .fromSource ( )
374+ typeVars ( _, _, _, this ) and ClassOrInterface .super .fromSource ( )
375375 }
376376
377377 override string getAPrimaryQlClass ( ) { result = "ParameterizedType" }
@@ -444,14 +444,14 @@ class GenericCallable extends Callable {
444444 exists ( Callable srcDecl |
445445 methods ( this , _, _, _, _, srcDecl ) or constrs ( this , _, _, _, _, srcDecl )
446446 |
447- typeVars ( _, _, _, _ , srcDecl )
447+ typeVars ( _, _, _, srcDecl )
448448 )
449449 }
450450
451451 /**
452452 * Gets the `i`-th type parameter of this generic callable.
453453 */
454- TypeVariable getTypeParameter ( int i ) { typeVars ( result , _, i , _ , this .getSourceDeclaration ( ) ) }
454+ TypeVariable getTypeParameter ( int i ) { typeVars ( result , _, i , this .getSourceDeclaration ( ) ) }
455455
456456 /**
457457 * Gets a type parameter of this generic callable.
0 commit comments