From 1a0fb7e6e55130429d90f52c104fd45ba48fdaa8 Mon Sep 17 00:00:00 2001 From: DaniilStepanov Date: Thu, 1 Feb 2024 17:46:39 +0300 Subject: [PATCH] Added annotation default value copy (#214) --- .../src/main/kotlin/org/jacodb/impl/cfg/MethodNodeBuilder.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/jacodb-core/src/main/kotlin/org/jacodb/impl/cfg/MethodNodeBuilder.kt b/jacodb-core/src/main/kotlin/org/jacodb/impl/cfg/MethodNodeBuilder.kt index 483cd349c..595b5a424 100644 --- a/jacodb-core/src/main/kotlin/org/jacodb/impl/cfg/MethodNodeBuilder.kt +++ b/jacodb-core/src/main/kotlin/org/jacodb/impl/cfg/MethodNodeBuilder.kt @@ -104,6 +104,7 @@ class MethodNodeBuilder( mn.invisibleAnnotations = invisibleAnnotations mn.invisibleTypeAnnotations = invisibleTypeAnnotations mn.invisibleParameterAnnotations = invisibleParameterAnnotations + mn.annotationDefault = annotationDefault // this two line of code relies on labels in method body properly organized.