aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-03-27 13:10:28 +0200
committer zaaarf <zaaarf@proton.me>2023-03-27 13:10:28 +0200
commita3f4dafff792882995d6dcd1d198d1f451c24783 (patch)
treeda1c6df53853258ed2f49a3bb1e2575ad9c74eaf
parentf2d1394bc425deabe22e845db9e097b63ebd2a2f (diff)
fix: TypeProxy.from access modifier
-rw-r--r--src/main/java/ftbsc/lll/proxies/impl/TypeProxy.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/ftbsc/lll/proxies/impl/TypeProxy.java b/src/main/java/ftbsc/lll/proxies/impl/TypeProxy.java
index 9f613b0..7be1eb3 100644
--- a/src/main/java/ftbsc/lll/proxies/impl/TypeProxy.java
+++ b/src/main/java/ftbsc/lll/proxies/impl/TypeProxy.java
@@ -73,7 +73,7 @@ public class TypeProxy extends QualifiableProxy {
* @param modifiers the access modifiers of the desired class
* @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);
}