I have a custom class I use frequently on my projects. This class has several methods but not all of them are used in every project.
My question is: including this class on a Project will bloat the project with useless code or will the compiler just include the methods used?
I mean, if my class has 30 methods but just 4 are being used in a given project will the compiler include also the other unused 26 or just the 4 used in the final product?
In case it includes all, is there a way to force it to disregard the unused methods and trim the binary to the minimum?