コード例 #1
0
 public void doSmap(org.apache.jasper.compiler.NodeRemoteInterface n) throws RemoteException {
   try {
     doSmap(n, 1, n.getEndJavaLine() - n.getBeginJavaLine(), 0);
   } catch (Exception excp) {
     excp.printStackTrace();
   }
 }
コード例 #2
0
  public void doSmap(
      org.apache.jasper.compiler.NodeRemoteInterface n,
      int inLineCount,
      int outIncrement,
      int skippedLines)
      throws RemoteException {
    try {
      org.apache.jasper.compiler.MarkRemoteInterface mark = n.getStart();
      if (mark == null) {
        return;
      }

      String unqualifiedName = gerenciadornuvem1.SmapUtilunqualify(mark.getFile());
      smap.addFile(unqualifiedName, mark.getFile());
      smap.addLineData(
          mark.getLineNumber() + skippedLines,
          mark.getFile(),
          inLineCount - skippedLines,
          n.getBeginJavaLine() + skippedLines,
          outIncrement);
    } catch (Exception excp) {
      excp.printStackTrace();
    }
  }