fix: misuse of asm type function

This commit is contained in:
zaaarf 2023-03-27 19:54:23 +02:00
parent 10b5d9e09e
commit ac4ce489b7
No known key found for this signature in database
GPG key ID: 82240E075E31FA4C

View file

@ -74,7 +74,7 @@ public class TypeProxy extends QualifiableProxy {
* @return the built {@link TypeProxy}
*/
public static TypeProxy from(String fqn, int arrayLevel, int modifiers) {
return from(Type.getObjectType(nameToDescriptor(fqn, arrayLevel)), modifiers);
return from(Type.getType(nameToDescriptor(fqn, arrayLevel)), modifiers);
}
/**