"Guessing" a class name
Answered
In Intellij (2017 at least), if there are two classes with the same name, and I remote debug a project that calls one of them – I get a message saying there is an alternative source.
With this command:
· this.getClass().getProtectionDomain().getCodeSource().getLocation()
I can see the name of the jar file. Can't intellij "somehow" guess the project name by the class file?
I use ANT through intellij – and it's possible with MVN or Gradle as well.
Please sign in to leave a comment.
Feel free to submit a feature request at https://youtrack.jetbrains.com/newIssue?project=IJPL . Describe your use case and provide a small sample project to reproduce it.