I asked myself, if C4J allows writing contracts for inner classes? I did not try it out myself, but I realized that if it does, or if you are about to implement it, I should consider the possibility of contracted inner classes while designing new features for the C4J Eclipse plugin.
Thanks,
Sascha
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, I tried it now. Honestly I thought it would work just out of the box, but it didn't...
I'm getting a Javassist error that I don't quite understand, I need to do some more research. Maybe Javassist can't instrument inner classes, or C4J has to give special treatment to inner classes, I don't know.
However, I don't consider it to be top priority. I hope I'll get some time soon to work more on C4J, I've been too busy the last few months. In that case I'll try and look more at this.
Regards / Jonas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I asked myself, if C4J allows writing contracts for inner classes? I did not try it out myself, but I realized that if it does, or if you are about to implement it, I should consider the possibility of contracted inner classes while designing new features for the C4J Eclipse plugin.
Thanks,
Sascha
Hello.
Well, I tried it now. Honestly I thought it would work just out of the box, but it didn't...
I'm getting a Javassist error that I don't quite understand, I need to do some more research. Maybe Javassist can't instrument inner classes, or C4J has to give special treatment to inner classes, I don't know.
However, I don't consider it to be top priority. I hope I'll get some time soon to work more on C4J, I've been too busy the last few months. In that case I'll try and look more at this.
Regards / Jonas