I'm using IntelliJ 15 and I'm trying to find usages of methods and objects in a .java file packed in a .jar file downloaded through Maven. I now that they're used: I can find them through the simple search
(ctrl+f) command, but when I try with the Find Usages
command the post-title message is returned.
I've read this post, but it doesn't work.
This an example of a method in a file InstanceManager.class
(belonging to .jar file imported with Maven):
private void notifyNewInstance(Instance instance) {
List var2 = this.instanceListeners;
synchronized(this.instanceListeners) {
Iterator var3 = this.instanceListeners.iterator();
while(var3.hasNext()) {
InstanceListener listener = (InstanceListener)var3.next();
try {
listener.newInstanceAvailable(instance);
} catch (Throwable var7) {
LOG.error("Notification of new instance availability failed.", var7);
}
}
}
}
And in the same file is called with this.notifyNewInstance(host);
but if I use Find usages
on notifyNewInstance
I'll receive the error.
UPDATE:
I've tried to Download
the source code, but I get the message:
Cannot download sources Sources not found for: org.apache.flink:flink-runtime_2.10:1.1-20160316.114232-35
Can you help me with that?