File tree 1 file changed +5
-5
lines changed
src/main/java/gr/gousiosg/javacg/dyn
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -81,8 +81,8 @@ public int compare(Object o1, Object o2) {
81
81
sb = new StringBuffer ();
82
82
}
83
83
84
- //Object [] argM
85
- public static void push (String callname ) throws IOException {// added the object array in to pass the parameters to the
84
+
85
+ public static void push (String callname , Object [] argM ) throws IOException {// added the object array in to pass the parameters to the
86
86
// funciton in.
87
87
if (threadid == -1 )
88
88
threadid = Thread .currentThread ().getId ();
@@ -101,17 +101,17 @@ public static void push(String callname) throws IOException {// added the object
101
101
sb .append (">[" ).append (stack .size ()).append ("]" );
102
102
sb .append ("[" ).append (Thread .currentThread ().getId ()).append ("]" );
103
103
if (!stack .isEmpty ()) { sb .append (stack .peek ()); }
104
- sb .append (" --- " ).append (callname ).append ("=" ).append (System .nanoTime ()).append ("\n " );// added in stack peek so it will also print the calling class
104
+ sb .append (" ---> " ).append (callname ).append ("=" ).append (System .nanoTime ()).append ("\n " );// added in stack peek so it will also print the calling class
105
105
106
106
sb .append ("Formal Param Types: " );
107
- /*
107
+
108
108
for (Object ob : argM )
109
109
{
110
110
sb .append (" " ).append (ob .getClass ().getName ()); // GET THE PARAMETERS AND PRINT THE TYPE.
111
111
}
112
112
113
113
sb .append ("\n " );
114
- */
114
+
115
115
fw .write (sb .toString ());
116
116
117
117
You can’t perform that action at this time.
0 commit comments