This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 244984 - Find Usages does not seeking (and finding) for the right method
Summary: Find Usages does not seeking (and finding) for the right method
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.0
Hardware: PC Windows 7 x64
: P2 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-10 15:21 UTC by FiruzzZ
Modified: 2014-07-25 15:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description FiruzzZ 2014-06-10 15:21:59 UTC
The IDE is looking for: (which delegate on the method that I want to Find Usages)

public T findByQuery(String jpql) {
	return findByQuery(String jpql, null);
}

When I trying to find usages of: 
public Object findByQuery(String jpql, Map<String, Object> parameters) { }

Results of usage doesn't not even include the one that I am looking for.
Same happens with
Comment 1 Ralph Ruijs 2014-06-25 13:38:27 UTC
The issue description is somehow incomplete. Please supply steps to reproduce, preferably with a small test-project. Thanks!
Comment 2 FiruzzZ 2014-07-25 15:55:28 UTC
I unchecked "Include overloaded methods" and it worked as I expected.