Java: Inline models as data expected output as comments in the java files and add a test.

This commit is contained in:
Michael Nebel
2024-05-06 11:01:23 +02:00
parent 6815bcaa80
commit 7cb8a6c52f
14 changed files with 439 additions and 393 deletions

View File

@@ -1,21 +1,22 @@
package p;
public class InnerClasses {
class IgnoreMe {
public String no(String input) {
return input;
}
}
public class CaptureMe {
public String yesCm(String input) {
return input;
}
}
public String yes(String input) {
return input;
class IgnoreMe {
public String no(String input) {
return input;
}
}
public class CaptureMe {
// MaD=p;InnerClasses$CaptureMe;true;yesCm;(String);;Argument[0];ReturnValue;taint;df-generated
public String yesCm(String input) {
return input;
}
}
// MaD=p;InnerClasses;true;yes;(String);;Argument[0];ReturnValue;taint;df-generated
public String yes(String input) {
return input;
}
}