return false;
}
- if (context.profile == Profile.GOBJECT && type_reference.get_type_arguments ().size > 0) {
+ if (context.profile == Profile.GOBJECT && type_reference.has_type_arguments ()) {
Report.warning (_data_type.source_reference, "Type argument list has no effect");
}
value_type = context.analyzer.type_type;
- if (context.profile == Profile.GOBJECT && type_reference.get_type_arguments ().size > 0) {
+ if (context.profile == Profile.GOBJECT && type_reference.has_type_arguments ()) {
Report.warning (_data_type.source_reference, "Type argument list without effect");
}