fix: TypeProxy.from access modifier

This commit is contained in:
zaaarf 2023-03-27 13:10:28 +02:00
parent f2d1394bc4
commit a3f4dafff7
No known key found for this signature in database
GPG key ID: 82240E075E31FA4C

View file

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