byte-buddy
byte-buddy copied to clipboard
Minor: documentation for TypePool#describe(String) is incorrect
The javadoc says:
The name is to be written as when calling Object.toString() on a loaded Class.
But calling toString() on, for example, Object.class yields class java.lang.Object.
I think instead you must mean to say something like:
The supplied name must be equal to the result of an invocation of the
Class#getName()method on some Class object.
Good catch, thanks!