Menu

Contracting inner classes

2007-03-13
2013-04-25
  • Sascha Zelzer

    Sascha Zelzer - 2007-03-13

    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

     
    • Jonas Bergström

      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

       

Log in to post a comment.