ByteBuddy - transform all methods
<p>I am trying to mimic mock creation with byte buddy.
Is it possible to intercept all methods at once?</p>

<p>I tried the following:</p>

<pre><code>new ByteBuddy()
   .subclass(Object.class)
   .method(nameMatches(".*"))
   .intercept(FixedValue.nullValue())
</code></pre>

<p>but it unfortunately does not work</p>