Question: How do I make a third-party class public? Is there a way? any hacks?

Basically I what to extend the functionality of a class which i don't own. I can see the source but don't want to hack the original source and re-compile it.

thanks

Answer: 
Assuming the class isn't nested and is a top-level class (which is actually `public` with a `private` constructor), just create a `public` wrapper class and have method calls into an instance of that class with a `private` constructor. A similar [answer can be found here](https://stackoverflow.com/a/3952820/2591612).
You can use reflection to change the modifier to public.