Checking the Nullability of 'getExtends()'