I am currently working on a project that uses the jfreechart library. I am currently using a jar file for this library, adding it to my build path. However, I do not need all the functionality of the library. I would like to highlight only those sections of the library in which I used my code and, obviously, dependent code.
My ultimate goal is to reduce the size of the project. I need to fulfill some target values, and using an entire banner library of 7 mb is not an option.
I wanted to know if there is a way to do this separately from manually checking dependencies?
Ideally, I would like to apply any proposed method to the jar file of the library, but if there is a convenient way to detect unused code in the source code, I am ready to import the source code into my project.
I apologize if my request is a repetition or a stupid question.
Thanks Sudipto
Sudipto shome
source share