From dacf7a6de61ddd6c0ad02988f552d6c899091a51 Mon Sep 17 00:00:00 2001 From: zaaarf Date: Fri, 31 Mar 2023 14:31:50 +0200 Subject: fix: remove generics at the end too --- src/main/java/ftbsc/lll/processor/tools/ASTUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/ftbsc/lll/processor/tools/ASTUtils.java') diff --git a/src/main/java/ftbsc/lll/processor/tools/ASTUtils.java b/src/main/java/ftbsc/lll/processor/tools/ASTUtils.java index ac1019c..6e0a13e 100644 --- a/src/main/java/ftbsc/lll/processor/tools/ASTUtils.java +++ b/src/main/java/ftbsc/lll/processor/tools/ASTUtils.java @@ -130,7 +130,7 @@ public class ASTUtils { .insert(0, "$"); elem = elem.getEnclosingElement(); } - return fqnBuilder.insert(0, elem.asType().toString()).toString(); + return fqnBuilder.insert(0, elem.asType().toString().split("<")[0]).toString(); } /** -- cgit v1.2.3-56-ga3b1