From b99dacef933ed120211e3b709c095a94ba0dae5b Mon Sep 17 00:00:00 2001 From: Tobias Stamann Date: Sat, 7 Oct 2023 12:54:54 +0200 Subject: [PATCH] Fix InterfaceUtils --- .../src/main/java/io/toolisticon/aptk/tools/InterfaceUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/src/main/java/io/toolisticon/aptk/tools/InterfaceUtils.java b/tools/src/main/java/io/toolisticon/aptk/tools/InterfaceUtils.java index 3264621b..114c1a27 100644 --- a/tools/src/main/java/io/toolisticon/aptk/tools/InterfaceUtils.java +++ b/tools/src/main/java/io/toolisticon/aptk/tools/InterfaceUtils.java @@ -154,7 +154,7 @@ TypeMirrorWrapper getTypeMirrorWithReplacedTypeVars() { if (isTypeVar() && typeVarMap.containsKey(getTypeVar().toString())) { return typeVarMap.get(getTypeVar().toString()); } else { - return this; + return TypeMirrorWrapper.wrap(this.unwrap()); } }