aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/proxies/impl/MethodProxy.java
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-03-27 18:41:48 +0200
committer zaaarf <zaaarf@proton.me>2023-03-27 18:41:48 +0200
commitb2b516b2b158ed680e402a05a496150293cccfe5 (patch)
treeef69b6d1bfec78753e7c159bf456af54902cff57 /src/main/java/ftbsc/lll/proxies/impl/MethodProxy.java
parenta3f4dafff792882995d6dcd1d198d1f451c24783 (diff)
fix: trying to get fqn of primitive
Diffstat (limited to 'src/main/java/ftbsc/lll/proxies/impl/MethodProxy.java')
-rw-r--r--src/main/java/ftbsc/lll/proxies/impl/MethodProxy.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/ftbsc/lll/proxies/impl/MethodProxy.java b/src/main/java/ftbsc/lll/proxies/impl/MethodProxy.java
index a1306f7..b205cbf 100644
--- a/src/main/java/ftbsc/lll/proxies/impl/MethodProxy.java
+++ b/src/main/java/ftbsc/lll/proxies/impl/MethodProxy.java
@@ -39,6 +39,8 @@ public class MethodProxy extends AbstractProxy {
*/
protected MethodProxy(String name, int modifiers, QualifiableProxy parent, Type[] parameters, Type returnType) {
super(name, Type.getMethodDescriptor(returnType, parameters), modifiers, parent, ProxyType.METHOD);
+ for(Type t : parameters)
+ System.out.println(t.toString() + t.getSort());
this.parameters = Arrays.stream(parameters)
.map(t -> TypeProxy.from(t, 0))
.toArray(TypeProxy[]::new);