Class Subroutine


  • public class Subroutine
    extends java.lang.Object
    Represents a nested method subroutine (marked by JSR and RET).
    Author:
    Jason T. Greene
    • Constructor Summary

      Constructors 
      Constructor Description
      Subroutine​(int start, int caller)  
    • Constructor Detail

      • Subroutine

        public Subroutine​(int start,
                          int caller)
    • Method Detail

      • addCaller

        public void addCaller​(int caller)
      • start

        public int start()
      • access

        public void access​(int index)
      • isAccessed

        public boolean isAccessed​(int index)
      • accessed

        public java.util.Collection accessed()
      • callers

        public java.util.Collection callers()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object