diff --git a/VRL/VRL-Lang/src/test/resources/eu/mihosoft/vrl/lang/Instrumentation04.groovy b/VRL/VRL-Lang/src/test/resources/eu/mihosoft/vrl/lang/Instrumentation04.groovy new file mode 100644 index 00000000..5e19c112 --- /dev/null +++ b/VRL/VRL-Lang/src/test/resources/eu/mihosoft/vrl/lang/Instrumentation04.groovy @@ -0,0 +1,23 @@ +/* global comment*/ + +package my.testpackage; + +/** + * class MyFileClass + */ +@eu.mihosoft.vrl.instrumentation.VRLVisualization +public class MyFileClass { + + private MyFileClass m1(int a) { + println(a) + return this; + } + + private MyFileClass m2() { + return new MyFileClass().m1(1).m1(2); + } + + public static void main(String[] args) { + new MyFileClass().m2(); + } +} \ No newline at end of file