[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[jdt-dev] Extract Method Question
|
- From: Irum Godil <softwarengineer2004@xxxxxxxxx>
- Date: Sun, 13 Nov 2005 18:30:06 -0800 (PST)
- Delivered-to: jdt-dev@eclipse.org
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=rQqPzY24RnzzhnpM+WJvhkTEGETzuNqTqIH/rxSpI/RS5c6L6G/BOIyAMQa6twOTBHYMwl4dw6cG9iqJXlMrqAQnOeA+jj9e+vFTY3fbAdaRCaLUIc0LEl68r/ZVDK5+X84dUNWaJyNPzyCUPnqRJqw+HDaSFntT/a9b598drwg= ;
Hi,
In the Eclipse Extract MethodRefactoring, I would like to understand what are the following variables and when and how are they used:
1) In package org.eclipse.jdt.internal.corext.refactoring.code.flow, what are the variables: FlowInfo.READ_POTENTIAL and FlowInfo.WRITE_POTENTIAL? When would a variable be a readpotential or write potential?
2) In ExtractMethodAnalyzer class, what are the following variables used for:
private IVariableBinding[] fCallerLocals;
private IVariableBinding fReturnLocal;
Also, how are these different from fReturnValue, fMethodLocals?
3) For ExtractMethodAnalyzer, I do not understand what does the API:
private void adjustArgumentsAndMethodLocals() do?
I will really appreciate your help on this.
Thanks a lot,
Sincerely,
Irum Godil.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com