| 276 | } |
| 277 | |
| 278 | MVisibility MProperty::GetVisibility() const |
| 279 | { |
| 280 | if (GetGetMethod() && GetSetMethod()) |
| 281 | { |
| 282 | return static_cast<MVisibility>( |
| 283 | Math::Max( |
| 284 | static_cast<int>(GetGetMethod()->GetVisibility()), |
| 285 | static_cast<int>(GetSetMethod()->GetVisibility()) |
| 286 | )); |
| 287 | } |
| 288 | if (GetGetMethod()) |
| 289 | { |
| 290 | return GetGetMethod()->GetVisibility(); |
| 291 | } |
| 292 | return GetSetMethod()->GetVisibility(); |
| 293 | } |
| 294 | |
| 295 | bool MProperty::IsStatic() const |
| 296 | { |
no test coverage detected