Refactor | Generify
|Drop obsolete casts||If this option is checked, IntelliJ IDEA analyzes whether the parameter cast cases are changed by refactoring. If the resulting parameter type is similar to the obsolete one, the cast statement is removed.|
|Leave Object-parameterized types raw||Check this option to make objects, that have java.lang.Object as a parameter, raw.|
|Perform exhaustive search||Check this option to perform search in all nodes.|
|Generify Objects||Check this option to transform the java.lang.Object objects into the type, they are actually used for.|
|Produce wildcard types||Check this option to produce wildcard types where possible (expressions like List<? extends String>).|
|Preserve raw arrays||If this check box is selected, the arrays are not changed to the arrays with parameterized
Otherwise, the arrays will be transformed to parameterized type.
Clearing this check box can be risky and result in uncompilable code.