From 9f1cfa7b0651ab0073f500236105ed1ae2fc96cc Mon Sep 17 00:00:00 2001 From: I-Al-Istannen Date: Tue, 23 May 2023 22:51:14 +0200 Subject: [PATCH] Silence qodana --- src/main/java/spoon/support/adaption/TypeAdaptor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/spoon/support/adaption/TypeAdaptor.java b/src/main/java/spoon/support/adaption/TypeAdaptor.java index b19f564e45f..74e45256926 100644 --- a/src/main/java/spoon/support/adaption/TypeAdaptor.java +++ b/src/main/java/spoon/support/adaption/TypeAdaptor.java @@ -559,6 +559,7 @@ private Optional> getDeclaringMethodOrConstructor(CtTypeReferenc return Optional.of((CtExecutable) parent); } + @SuppressWarnings("AssignmentToMethodParameter") private DeclarationNode buildHierarchyFrom(CtTypeReference startReference, CtType startType, CtTypeReference end) { CtType endType = findDeclaringType(end);