Commit 2650b4ea authored by Markus Bauer's avatar Markus Bauer
Browse files

Making all fields public

parent 10fe7193
......@@ -84,8 +84,8 @@ public aspect DebuggerListeners {
//make monitor/struct fields public
pointcut addDecl(String s) : ( withincode(* codeGen.MonitorCode.addDeclaration(..)) ||
withincode(* codeGen.MonitorCode.addDeclaration(..))) &&
call(* java.util.Map+.put(..)) && args(String,s);
withincode(* codeGen.StructCode.addDeclaration(..))) &&
call(CodeLine.new(String, ..)) && args(s, ..);
Object around(String s) : addDecl(s){
if (Pseuco.debugging) return proceed(s.replaceFirst("private ", "public "));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment