Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-ui-dev] changed SEF refactoring

Hi

I've made a few changes to the SEF refactoring, so it can handle
simple Postfix- and PrefixExpressions.

It converts:
field++ and ++field to setField(getField() + 1)
field-- and --field to setField(getField() - 1)

please feel free to comment...

For deeper analysis of the write access there should be a way
to track more than one parent of a ast node.
I couldn't see how to do this right now...

and it seems with the Eclipse launcher you cannot debug it
is this right ?

greetings
  Jens Lukowski

Attachment: AccessAnalyzer.java
Description: Binary data

Attachment: ConvertToInfix.java
Description: Binary data

Attachment: SelfEncapsulateFieldRefactoring.java
Description: Binary data


Back to the top