It seems that if inner classes appear before the main class declaration, this method can pick those up instead, with can throw off detection of target methods.
e.g. in Disruptor, trying to target
com.lmax.disruptor.Sequence.compareAndSet(long,long)
gets broken because Sequence.java contains classes LhsPadding,Value, and RhsPadding before Sequence.
It seems that if inner classes appear before the main class declaration, this method can pick those up instead, with can throw off detection of target methods.
e.g. in Disruptor, trying to target com.lmax.disruptor.Sequence.compareAndSet(long,long) gets broken because Sequence.java contains classes LhsPadding,Value, and RhsPadding before Sequence.