@@ -316,9 +316,9 @@ SCENARIO(
316
316
317
317
// Trace the assignments back to the declaration of the generic type
318
318
// and verify that it is what we expect.
319
- const auto &tmp_object_struct =
320
- to_struct_type (tmp_object_declaration.symbol ().type ());
321
- REQUIRE (tmp_object_struct. get_tag () == " Wrapper" );
319
+ const auto &tmp_object_struct_tag =
320
+ to_struct_tag_type (tmp_object_declaration.symbol ().type ());
321
+ REQUIRE (tmp_object_struct_tag. get_identifier () == " java:: Wrapper" );
322
322
323
323
THEN (" Object 'v' has field 'field' of type IWrapper" )
324
324
{
@@ -366,9 +366,9 @@ SCENARIO(
366
366
367
367
// Trace the assignments back to the declaration of the generic type
368
368
// and verify that it is what we expect.
369
- const auto &tmp_object_struct =
370
- to_struct_type (tmp_object_declaration.symbol ().type ());
371
- REQUIRE (tmp_object_struct. get_tag () == " Wrapper" );
369
+ const auto &tmp_object_struct_tag =
370
+ to_struct_tag_type (tmp_object_declaration.symbol ().type ());
371
+ REQUIRE (tmp_object_struct_tag. get_identifier () == " java:: Wrapper" );
372
372
373
373
THEN (
374
374
" Object 'v' has field 'field' of type Object (upper bound of the "
@@ -416,11 +416,11 @@ SCENARIO(
416
416
417
417
// Trace the assignments back to the declaration of the generic type
418
418
// and verify that it is what we expect.
419
- const auto &tmp_object_struct =
420
- to_struct_type (tmp_object_declaration.symbol ().type ());
419
+ const auto &tmp_object_struct_tag =
420
+ to_struct_tag_type (tmp_object_declaration.symbol ().type ());
421
421
REQUIRE (
422
- tmp_object_struct. get_tag () ==
423
- " GenericFields$GenericInnerOuter$Outer" );
422
+ tmp_object_struct_tag. get_identifier () ==
423
+ " java:: GenericFields$GenericInnerOuter$Outer" );
424
424
425
425
THEN (" Object 'v' has field 'field' of type InnerClass" )
426
426
{
@@ -481,11 +481,11 @@ SCENARIO(
481
481
482
482
// Trace the assignments back to the declaration of the generic type
483
483
// and verify that it is what we expect.
484
- const auto &tmp_object_struct =
485
- to_struct_type (tmp_object_declaration.symbol ().type ());
484
+ const auto &tmp_object_struct_tag =
485
+ to_struct_tag_type (tmp_object_declaration.symbol ().type ());
486
486
REQUIRE (
487
- tmp_object_struct. get_tag () ==
488
- " GenericFields$GenericRewriteParameter$A" );
487
+ tmp_object_struct_tag. get_identifier () ==
488
+ " java:: GenericFields$GenericRewriteParameter$A" );
489
489
490
490
THEN (" Object 'v' has field 'value' of type Integer" )
491
491
{
0 commit comments