Package de.scoopgmbh.copper.instrument

Examples of de.scoopgmbh.copper.instrument.MethodInfo


    } catch (Exception ex) {
      throw new RuntimeException(ex);
    }
    List<StackFrame>  verboseStack = new ArrayList<StackFrame>(stack.size());
    ClassInfo[] definingClass = new ClassInfo[1];
    MethodInfo currentMethod = getMethod(classInfo, "main", "()V", definingClass);
    for (StackEntry en : stack) {
      Method method = new Method(currentMethod.getDefiningClass(), currentMethod.getDeclaration());
      List<LabelInfo> labelInfos = currentMethod.getLabelInfos();
      LabelInfo lf = labelInfos.size() >= en.jumpNo?
          new LabelInfo(en.jumpNo, -1, Collections.<String>emptyList(), Collections.<Type>emptyList(), Collections.<Type>emptyList(), Collections.<Type>emptyList(), "INCOMPATIBLE_STACKINFO_OUTPUT_ABORTED", "()V")
          :labelInfos.get(en.jumpNo);
      StackFrame sf = new StackFrame(method, lf.getLineNo(), definingClass[0].getSourceCode());
      for (int i = 0; i < lf.getLocals().length; ++i) {
View Full Code Here

TOP

Related Classes of de.scoopgmbh.copper.instrument.MethodInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.