Re: Open Java Source File from fully qualified Name?
Benno Markiewicz <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.devel |
|---|---|
| Message-ID | <CAA_aP4iJ9G1vpr+xALOR293dARaJdF0mzdzO=oEf019bruG8iQ@mail.gmail.com> |
Navigate->Go to type... With kind regards, markiewb 2015-12-30 20:36 GMT+01:00 BR Brett Ryan (3456) <[email protected] >: > What I normally do is create a reference in an existing java source file, > eg. > > com.example.com.MyClass t; > > Then option+click/ctrl+click (go to reference) and it will open that > class's source if it exists or open the inferred source from a binary class > file. > > > On 31 Dec 2015, at 06:16, c_reiter <[email protected]> wrote: > > > > Hello! > > > > I have got a fully qualified name of a Java Source File, e.g. > "com.example.application.logic.SomeJavaBean" and want to open the associate > java source file in the editor window if it is contained in one of the > currently opened projects. > > > > If it's already opened the window should be brought to the front. > > > > How can I resolve the right file from the above string? I've searched > for hours, but I'm lost. > > > > Is there also a effficient way to test if such a string refers to a > known java source file in one of the currently opened projects? > > > > Thank in anticipation :) > > > > chris > > > > > > > > >