Ejemplo n.º 1
0
 //
 // called by the .enclosing directive
 //
 void setEnclosingMethod(String str) {
   try {
     if (str.indexOf("(") != -1) { // full method description
       String[] split = ScannerUtils.splitClassMethodSignature(str);
       class_env.setEnclosingMethod(split[0], split[1], split[2]);
     } else // just a class name
     class_env.setEnclosingMethod(str, null, null);
   } catch (IllegalArgumentException e) {
     report_error(e.toString());
   }
 }