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(); } /**