Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-ui-dev] UseSupertypeWherePossible released

UseSupertypeWherePossible has just been released:
to use, select a type and choose 'use supertype where possible' - it will then find all places where updating to the supertype is
possible.

The checkbox 'Use the supertype in instanceof expressions' should be used carefully - if it's checked, then expressions
 (v instanceof OldType)
are changed into
 (v instanceof NewSuperType)
the value of which is 'true' in possibly more places than before the change.

The action is enabled on types and compilation units with a primary type (or a single type).

The test suite is in the usual place.
a.




Back to the top