JavaContext.st
branchdevelopment
changeset 2902 b7070e447ed0
parent 2887 2f98edaf6aba
child 3083 ccde6af7278c
--- a/JavaContext.st	Thu Oct 31 07:53:30 2013 -0300
+++ b/JavaContext.st	Tue Nov 05 17:52:46 2013 +0000
@@ -334,6 +334,14 @@
     "Modified: / 17-11-2011 / 19:13:15 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
 !
 
+argsAndVars
+    "return an array filled with the arguments and variables of this context"
+
+    ^ self method originalMethodIfWrapped methodArgAndVarValuesInContext: self.
+
+    "Created: / 04-11-2013 / 18:45:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
 methodFromClass
     "Return the up-to-date method. Actyally, it fetches the method
      from receiver's class"