Community
Participate
Working Groups
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(); }
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.