diff --git a/schema/src/main/scala/io/shiftleft/codepropertygraph/schema/Annotation.scala b/schema/src/main/scala/io/shiftleft/codepropertygraph/schema/Annotation.scala index b3dec4f40..7243381a6 100644 --- a/schema/src/main/scala/io/shiftleft/codepropertygraph/schema/Annotation.scala +++ b/schema/src/main/scala/io/shiftleft/codepropertygraph/schema/Annotation.scala @@ -91,6 +91,9 @@ object Annotation extends SchemaBase { .addOutEdge(edge = ast, inNode = literal) .addOutEdge(edge = evalType, inNode = tpe) + literal + .addOutEdge(edge = ast, inNode = annotation) + method .addOutEdge(edge = ast, inNode = annotation)