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);