Community
Participate
Working Groups
For my project I need a library that at runtime depends on some other libraries. Incidentally I forgot to include those libraries, when I created the project. While writing on some class, I couldn't get code assist for such a dependent class. The project had no signs of errors whatsoever (code or classpath). To be concrete I was using a schema implementation of the apache xmlbeans for which you'd need some xmlbeans libraries. Maybe there should be at least some message indicating the problem. Since everything works fine if you use methods of the dependent class - there's just no code assist. (Of course at runtime you would get a NoClassDefFoundError, because of the missing declaration)
So you want that the compiler warns if a library on the classpath references type that are not available on your build path. That would be an optional warning as there are surely some setups where users remove some libraries if they are not used at runtime.
Actually what I want and what I initially expected is, that the code assist at least offers help as to the available methods of the class.