Moved containsReifiedTypeParameters to DescriptorUtils
This commit is contained in:
committed by
Alexander Udalov
parent
0231aeb017
commit
b86e19782c
@@ -470,4 +470,13 @@ public class DescriptorUtils {
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public static boolean containsReifiedTypeParameters(@NotNull CallableDescriptor descriptor) {
|
||||
for (TypeParameterDescriptor typeParameterDescriptor : descriptor.getTypeParameters()) {
|
||||
if (typeParameterDescriptor.isReified()) return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user