Bug 8928

Summary: Unable to find references or declarations of methods that use static inner classes in the signature
Product: [Eclipse Project] JDT Reporter: Leon Pesenson <pesenson_leonid>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P2    
Version: 2.0   
Target Milestone: 2.0 M3   
Hardware: PC   
OS: other   
Whiteboard:

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.