In the Chinese version document file below code can be found
To make it easier for discussion, I also copied that code below
ByteBuddy byteBuddy = new ByteBuddy();
byteBuddy.withNamingStrategy(new NamingStrategy.SuffixingRandom("suffix"));
DynamicType.Unloaded<?> dynamicType = byteBuddy.subclass(Object.class).make();
I tried in my local env and the code won't compile (the byte buddy version that I use is 1.18.7)
But in the English version document
The code is different

I also copied the code as follows
ByteBuddy byteBuddy = new ByteBuddy();
byteBuddy.with(new NamingStrategy.SuffixingRandom("suffix"));
DynamicType.Unloaded<?> dynamicType = byteBuddy.subclass(Object.class).make();
So I guess that code in the Chinese version document file is probably wrong
In the Chinese version document file below code can be found
To make it easier for discussion, I also copied that code below
I tried in my local env and the code won't compile (the byte buddy version that I use is
1.18.7)But in the English version document

The code is different
I also copied the code as follows
So I guess that code in the Chinese version document file is probably wrong