Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-ui-dev] SEF Refactoring: New

Hi

I've changed the SEF refactoring again:

- added () around the expression in compound statements:
field += e - 3;  => setField(getField() + (e - 3));

exceptions:
Literals:
	field += 3; => setField(getField() + 3);
References:
	field += e; => setField(getField() + e);

are there any other cases in which no parentheses should be generated ?

- new ConvertToInfix now with parentheses and fixed the way it handles text
changes (now similar to EncapsulateWriteAccess)

greets
  Jens

Attachment: sef20011211
Description: Binary data


Back to the top