This is what I do in IntelliJ IDEA (using glEnableVertexAttribArray as an example in an file without GL imports):
- I type glEVAA
- Ctrl+Space (no results)
- Ctrl+Space again, I get GL20.glEnableVertexAttribArray();
- Then I move the cursor on GL20 -> Alt+Enter -> "Add on demand static import for GL20"
At the end I have just glEnableVertexAttribArray() in the code and an import static org.lwjgl.opengl.GL20.*. I never have to manually search where a function is defined and there are no class prefixes in the code.
Other IDEs may do this differently, or not at all. If you aren't using an IDE, you could use the javadoc index (index-all.html). Do not use the site, it's a massive 8MB+ file.