Java: Ensure that it is the callable for the model origin that carries the comment containing the model.

This commit is contained in:
Michael Nebel
2024-05-06 16:32:28 +02:00
parent a8549d2e23
commit b53fa0f7f3
9 changed files with 31 additions and 25 deletions

View File

@@ -3,7 +3,7 @@ import utils.modelgenerator.internal.CaptureModels
import TestUtilities.InlineMadTest
module InlineMadTestConfig implements InlineMadTestConfigSig {
string getCapturedModel() { result = captureSource(_) }
string getCapturedModel(Callable c) { result = captureSource(c) }
string getKind() { result = "source" }
}