Are you asking how to protect the source code of a commercial plugin? Assuming so, I think the best route is a combination of code ofbuscation, e.g., ProGuard or yGuard, and some form of DRM/license enforcement. Short of using a class loader that loads classes from an encrypted/digitally signed jar (and I'm not sure how well that would work given IDEA's plugin classloader model), I think that's the best you can do. It's not 100% foolproof, but it's much better than nothing! Hope this helps!
Are you asking how to protect the source code of a commercial plugin? Assuming so, I think the best route is a combination of code ofbuscation, e.g., ProGuard or yGuard, and some form of DRM/license enforcement. Short of using a class loader that loads classes from an encrypted/digitally signed jar (and I'm not sure how well that would work given IDEA's plugin classloader model), I think that's the best you can do. It's not 100% foolproof, but it's much better than nothing! Hope this helps!