class file which is also a smart way to look code for an open-source library, but the decompiled source file is not the same as the original source file, as you lost comment and readability.Īs per my experience attaching source code corresponding to the JAR file is much better than decompiling a class file using the JAD decompiler.Īs I said when you attach source code for any JAR file, You not only see properly formatted code but also all the code comments which are not available if you are decompiling the class file. Someone may argue for a Java decompiler like JAD which can create a source from the. Once you attach the source code of Java or Spring in Eclipse IDE, You can check the code with just a single click. Interview questions like How HashMap works in Java or How substring causes memory leak can only be answered if you are familiar with the source code of these classes. Though Eclipse IDE is pretty good on code assist, sometimes You want to know what's going inside a library or a JDK method, rather than just reading the documentation. As a Java programmer at least you should attach the source of JDK in Eclipse IDE to find out more about JDK classes. JDK or open-source libraries like Spring framework is a good idea because it helps during debugging and code development. Attaching the source of any Jar in Eclipse e.g.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |