@@ -123,11 +123,13 @@ class UnboundGenericType extends ValueOrRefType, UnboundGeneric {
123
123
}
124
124
125
125
/**
126
+ * DEPRECATED: predicate does not contain any tuples.
127
+ *
126
128
* Gets the instance type of this type. For an unbound generic type, the instance type
127
129
* is a constructed type created from the unbound type, with each of the supplied type
128
130
* arguments being the corresponding type parameter.
129
131
*/
130
- ConstructedType getInstanceType ( ) {
132
+ deprecated ConstructedType getInstanceType ( ) {
131
133
result = this .getAConstructedGeneric ( ) and
132
134
forall ( TypeParameter tp , int i | tp = this .getTypeParameter ( i ) | tp = result .getTypeArgument ( i ) )
133
135
}
@@ -277,7 +279,7 @@ class TypeParameterConstraints extends Element, @type_parameter_constraints {
277
279
* ```
278
280
*/
279
281
class UnboundGenericStruct extends Struct , UnboundGenericType {
280
- override ConstructedStruct getInstanceType ( ) {
282
+ deprecated override ConstructedStruct getInstanceType ( ) {
281
283
result = UnboundGenericType .super .getInstanceType ( )
282
284
}
283
285
@@ -300,7 +302,7 @@ class UnboundGenericStruct extends Struct, UnboundGenericType {
300
302
* ```
301
303
*/
302
304
class UnboundGenericClass extends Class , UnboundGenericType {
303
- override ConstructedClass getInstanceType ( ) {
305
+ deprecated override ConstructedClass getInstanceType ( ) {
304
306
result = UnboundGenericType .super .getInstanceType ( )
305
307
}
306
308
@@ -323,7 +325,7 @@ class UnboundGenericClass extends Class, UnboundGenericType {
323
325
* ```
324
326
*/
325
327
class UnboundGenericInterface extends Interface , UnboundGenericType {
326
- override ConstructedInterface getInstanceType ( ) {
328
+ deprecated override ConstructedInterface getInstanceType ( ) {
327
329
result = UnboundGenericType .super .getInstanceType ( )
328
330
}
329
331
@@ -347,7 +349,7 @@ class UnboundGenericInterface extends Interface, UnboundGenericType {
347
349
* ```
348
350
*/
349
351
class UnboundGenericDelegateType extends DelegateType , UnboundGenericType {
350
- override ConstructedDelegateType getInstanceType ( ) {
352
+ deprecated override ConstructedDelegateType getInstanceType ( ) {
351
353
result = UnboundGenericType .super .getInstanceType ( )
352
354
}
353
355
0 commit comments