File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/main/java/gr/gousiosg/javacg/dyn Expand file tree Collapse file tree 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) {
8181 sb = new StringBuffer ();
8282 }
8383
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
8686 // funciton in.
8787 if (threadid == -1 )
8888 threadid = Thread .currentThread ().getId ();
@@ -101,17 +101,17 @@ public static void push(String callname) throws IOException {// added the object
101101 sb .append (">[" ).append (stack .size ()).append ("]" );
102102 sb .append ("[" ).append (Thread .currentThread ().getId ()).append ("]" );
103103 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
105105
106106 sb .append ("Formal Param Types: " );
107- /*
107+
108108 for (Object ob : argM )
109109 {
110110 sb .append (" " ).append (ob .getClass ().getName ()); // GET THE PARAMETERS AND PRINT THE TYPE.
111111 }
112112
113113 sb .append ("\n " );
114- */
114+
115115 fw .write (sb .toString ());
116116
117117
You can’t perform that action at this time.
0 commit comments