File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
java/ql/lib/semmle/code/java Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -330,13 +330,6 @@ class ParameterizedType extends ClassOrInterface {
330
330
typeVars ( _, _, _, this )
331
331
}
332
332
333
- /**
334
- * The erasure of a parameterized type is its generic counterpart.
335
- *
336
- * For example, the erasure of both `X<Number>` and `X<Integer>` is `X<T>`.
337
- */
338
- override RefType getErasure ( ) { erasure ( this , result ) or this .( GenericType ) = result }
339
-
340
333
/**
341
334
* Gets the generic type corresponding to this parameterized type.
342
335
*
@@ -406,13 +399,6 @@ class ParameterizedInterface extends Interface, ParameterizedType {
406
399
class RawType extends RefType {
407
400
RawType ( ) { isRaw ( this ) }
408
401
409
- /**
410
- * The erasure of a raw type is its generic counterpart.
411
- *
412
- * For example, the erasure of `List` is `List<E>`.
413
- */
414
- override RefType getErasure ( ) { erasure ( this , result ) }
415
-
416
402
/** Holds if this type originates from source code. */
417
403
override predicate fromSource ( ) { not any ( ) }
418
404
You can’t perform that action at this time.
0 commit comments