mauricioaniche/ck

Null when `getMethodInvocationsLocal()`

mauricioaniche opened this issue · 3 comments

See class https://github.com/mauricioaniche/ck/blob/master/fixtures/real-world/ByteBufferAsyncWritableChannel.java. It contains a subclass ChunkData. If we call getMethodInvocationsLocal() to the ChunkData/2 constructor, it returns null.

I believe that's a bug.

I will have a look at it. You can assign the issue to me.

I was able to reproduce this error and will work on a fix.

Problem:
For classes with no visible methods, the local method invocations were not set, because I called it to generate TCC and LCC where these cases can be skipped.

Solution:
Generate empty HashSets for all cases.