I using eclipse and and when I write this code
for (Property property : properties)
{
property.getType();
and use CTRL+1 Im getting this suggestion which is valid
IPropertyTypeU type = property.getType();
but there is specific casting which I want to use like
SimpleType simpletype = ((SimpleTypeU) property).getSimpleType();
I found this option just when I used the where used option (CTRL+SHIFT+G)
- There is more convenient way to do that ?
- There is easy way to see who is extending from specific interface
for example if I click on IPropertyTypeU I see all the class/interface that he extends
but how can I easily know that SimpleType extends IPropertyTypeU ?
Select the characters of the Class “IPropertyTypeU” in the Editor and press F4.
You will be able to see 4 different kinds of inheritance.