Bug 8928 - Unable to find references or declarations of methods that use static inner classes in the signature
Summary: Unable to find references or declarations of methods that use static inner cl...
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC other
: P2 major (vote)
Target Milestone: 2.0 M3   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-01 11:18 EST by Leon Pesenson CLA
Modified: 2002-02-04 06:19 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leon Pesenson CLA 2002-02-01 11:18:46 EST
I have an interface and two classes implementing it. I can find the 
declarations and references to all functions except two. The ones I can not 
find at all are:
	public IVol getEqVol(String ticker, 
                             Double strike, 
                             Date expiry, 
                             OptionStrategy.BuySell dir);

	public IVol getEqVol(String ticker, 
                             Double strike, 
                             Date expiry,	
                             OptionStrategy.BuySell dir, 
                             JnanaMktRules mktRules, ProgressIndicator pi);

I can not find them when I click on either the methods in the interface or in 
the classes. It does not matter what view. I can, however, find the same 
methods if I import OptionStrategy.BuySell and then use just the BuySell class 
directly in the method. It was an inspired guess :-) So it appears that these 
more complex types are not be handled.

public interface IMktEnv {
	Date getBaseDate();

	public Double getBorrowCost(String ticker, long numContracts);

	public Double getBorrowCost(String ticker, long numContracts, 
JnanaMktRules mktRules);

	IMktEnv getCopy();

	Map getEquityParameters(String ticker);

	public IVolSurface getEqVol(String ticker, ProgressIndicator pi);

	public IVol getEqVol(String ticker, Double strike, Date expiry, 
OptionStrategy.BuySell dir);

	public IVol getEqVol(String ticker, Double strike, Date expiry,
	OptionStrategy.BuySell dir, JnanaMktRules mktRules, ProgressIndicator 
pi);

	public FixedVolatilitySurface getEqVolAll(String ticker);

	public Document getLiquidity(String ticker);

	public Money getPrice(String ticker);

	Double getPrimeRate();

	double getProfitMarginAt(Date dt);

	public ZeroCurve getZeroCurve(String ccy);
	
	public boolean isStockInIndex(String ticker, String index);

	void loadStockParameters(String ticker);

	Double getBalanceSheetCost();
}
Comment 1 Jerome Lanneluc CLA 2002-02-04 06:19:20 EST
The method reference search pattern was too strict. When a parameter type was 
qualified, it was looking for the exact same qualification.
Fixed by wild-carding the parameter type qualification in the search pattern.