Re: Q: reflection in java/project
Jan Pokorsky <[email protected]> Fri, 20 Jun 2003 12:15:18 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.projects.devel |
|---|---|
| Organization | Sun Microsystems, Inc. |
| Message-ID | <[email protected]> |
Hi Svato, there remains some reflections because the overall split of the java module has not been finished yet. At the moment we have separated just the java project implementation. Anyway you seem to be right the reflection mentioned below can be replaced with API call. I am going to look at it. Thanks, Jan Svata Dedic wrote: > Hello, > > I must admit I did not watch the java module split much closely :( - so > please forgive me something obvious overlooked. > > There's a method in > org.netbeans.modules.java.project.CompilerOutConvertor, which uses > reflection to access something in the classpath module; specifically it > uses a static method that takes a FileObject and yields a PathResource. > > Can not it use o.n.a.java.project.JavaProject.getClasesDescriptor( > Project.find(fileObject)) instead ? > > -Svata > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >