Change to dynamic_cast.
Change to dynamic_cast.


Former-commit-id: 05a1f59e2744eaf68b7d8929b22b027efca2c00d
kmuzalewska/j-pet-framework,kmuzalewska/j-pet-framework,kmuzalewska/j-pet-framework,kmuzalewska/j-pet-framework,kmuzalewska/j-pet-framework